1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

Fix a memory leak.

This commit is contained in:
Tim Ruehsen 2012-04-13 21:35:29 +02:00 committed by Giuseppe Scrivano
parent 154d499be2
commit bd4f1e6042
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2012-04-13 Tim Ruehsen <tim.ruehsen@gmx.de> (tiny change)
* warc.c (warc_load_cdx_dedup_file): Fix a memory leak by freeing
`lineptr'.
2012-04-07 Daniel Kahn Gillmor <dkg@fifthhorseman.net> (tiny change) 2012-04-07 Daniel Kahn Gillmor <dkg@fifthhorseman.net> (tiny change)
* gnutls.c (key_type_to_gnutls_type): New function. * gnutls.c (key_type_to_gnutls_type): New function.

View File

@ -956,6 +956,7 @@ warc_load_cdx_dedup_file ()
nrecords); nrecords);
} }
free (lineptr);
fclose (f); fclose (f);
return true; return true;