SF Bug Tracker id 3498442 - Memory leak in get_file_info
Submitted: Fabrice Fontaine ( ffontaine ) - 2012-03-07 02:44:30 PST info->contentType is not freed before being set to NULL.
This commit is contained in:
parent
0469388b73
commit
56c26b5199
@ -2,6 +2,14 @@
|
||||
Version 1.6.16
|
||||
*******************************************************************************
|
||||
|
||||
2012-03-07 Fabrice Fontaine <fabrice.fontaine(at)orange.com>
|
||||
|
||||
SF Bug Tracker id 3498442 - Memory leak in get_file_info
|
||||
|
||||
Submitted: Fabrice Fontaine ( ffontaine ) - 2012-03-07 02:44:30 PST
|
||||
|
||||
info->contentType is not freed before being set to NULL.
|
||||
|
||||
2012-03-07 Fabrice Fontaine <fabrice.fontaine(at)orange.com>
|
||||
|
||||
SF Bug Tracker id 3498439 - Memory leak in removeServiceTable
|
||||
|
@ -502,6 +502,7 @@ static int get_file_info(
|
||||
FILE *fp;
|
||||
int rc = 0;
|
||||
|
||||
ixmlFreeDOMString(info->content_type);
|
||||
info->content_type = NULL;
|
||||
code = stat(filename, &s);
|
||||
if (code == -1)
|
||||
|
Loading…
Reference in New Issue
Block a user