Mercurial > pidgin
comparison src/log.c @ 13411:0d223f4ee868
[gaim-migrate @ 15786]
Memory leak fix from Sadrul.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Tue, 07 Mar 2006 01:12:13 +0000 |
parents | 3033597a4059 |
children | e4aa2648ca28 |
comparison
equal
deleted
inserted
replaced
13410:184d62658af2 | 13411:0d223f4ee868 |
---|---|
1400 if (index_tmp != NULL) | 1400 if (index_tmp != NULL) |
1401 { | 1401 { |
1402 g_unlink(index_tmp); | 1402 g_unlink(index_tmp); |
1403 g_free(index_tmp); | 1403 g_free(index_tmp); |
1404 } | 1404 } |
1405 g_free(pathstr); | |
1405 } | 1406 } |
1406 } | 1407 } |
1407 | 1408 |
1408 while (fgets(buf, BUF_LONG, file)) { | 1409 while (fgets(buf, BUF_LONG, file)) { |
1409 if ((newlog = strstr(buf, "---- New C"))) { | 1410 if ((newlog = strstr(buf, "---- New C"))) { |