[sleuthkit-developers] [ sleuthkit-Bugs-3267504 ] split_open > split_close leaks memory
Brought to you by:
carrier
From: SourceForge.net <no...@so...> - 2011-04-01 15:20:38
|
Bugs item #3267504, was opened at 2011-04-01 17:20 Message generated for change (Tracker Item Submitted) made by lolwutlol You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=477889&aid=3267504&group_id=55685 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Image File Tools Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: parki (lolwutlol) Assigned to: Nobody/Anonymous (nobody) Summary: split_open > split_close leaks memory Initial Comment: Brian, I've been doing some profiling and found that: split_info->max_off is being malloc'ed at line 372 of split.c But not free'd at split_close(). I haven't looked thoroughly to see if it breaks anything but it looks like a free() at line 322-323 solves it. Also, I haven't experienced it so far, but it looks that code under the condition at line 403 of split.c (checking if an image name is a directory and returning NULL) isn't freeing memory either and would be leaking. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=477889&aid=3267504&group_id=55685 |