Menu

#77 [file.c:141]: (error) Memory leak: buff

v1.0.1
open
nobody
None
5
2016-02-13
2016-02-13
dcb
No

$ fgrep -n buff ../BUILD/avra-1.3.0/file.c | egrep "malloc|free"
47: buff = malloc(length + 9);
98: free(buff);
116: buff = malloc(length + 9);
$

Suggest add missing call to free.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB