diff --git a/src/ChangeLog b/src/ChangeLog index 7c792d62..65e881e7 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2012-04-13 Tim Ruehsen (tiny change) + + * warc.c (warc_load_cdx_dedup_file): Fix a memory leak by freeing + `lineptr'. + 2012-04-07 Daniel Kahn Gillmor (tiny change) * gnutls.c (key_type_to_gnutls_type): New function. diff --git a/src/warc.c b/src/warc.c index b34db425..911cebd7 100644 --- a/src/warc.c +++ b/src/warc.c @@ -956,6 +956,7 @@ warc_load_cdx_dedup_file () nrecords); } + free (lineptr); fclose (f); return true;