gyselroth / docxBox

CLI tool for Word DOCX templating and analysis
MIT License
17 stars 6 forks source link

memory leak in "rmt" #87

Open LucasBornhauser opened 4 years ago

LucasBornhauser commented 4 years ago

Describe the bug Removing content from file using the "rmt" command leads to memory leak

To Reproduce Steps to reproduce the behavior:

  1. Command:
    • valgrind -v --leak-check=full ./bin/linux/docxbox rmt test/assets/documents/docx/cp_table_unordered_list_images.docx "Fugiat" "."
  2. Resources: cp_table_unordered_list_images.docx

Expected behavior No memory leak

Environment:

mem-leak.log

kstenschke commented 4 years ago

Please recheck, the memory leaks should be fixed as of 1cb49fab1d6d1591ee2d63ccc49f9a4a58a964cd