comparison mcabber/src/histolog.c @ 155:8a54d46e889a

[/trunk] Changeset 167 by mikael * Add some free() calls...
author mikael
date Sun, 01 May 2005 05:33:04 +0000
parents 1e8f646e2c5b
children 0ed6099b5a54
comparison
equal deleted inserted replaced
154:8630b7cae87b 155:8a54d46e889a
85 * - S status Info: [oaifdcn] 85 * - S status Info: [oaifdcn]
86 * We don't check them, we'll trust the caller. 86 * We don't check them, we'll trust the caller.
87 */ 87 */
88 88
89 fp = fopen(filename, "a"); 89 fp = fopen(filename, "a");
90 g_free(filename);
90 if (!fp) 91 if (!fp)
91 return; 92 return;
92 fprintf(fp, "%c%c %10u %03d %s\n", type, info, (unsigned int)ts, len, data); 93 fprintf(fp, "%c%c %10u %03d %s\n", type, info, (unsigned int)ts, len, data);
93 fclose(fp); 94 fclose(fp);
94 } 95 }