comparison mcabber/src/histolog.c @ 774:46304b773a44

Remove useless checks before g_free() calls
author Mikael Berthe <mikael@lilotux.net>
date Sat, 25 Mar 2006 18:16:10 +0100
parents 464be13343a9
children b16acadd7d53
comparison
equal deleted inserted replaced
773:e25b8a348ebd 774:46304b773a44
273 scr_LogPrint(LPRINT_LOGNORM, "ERROR: Cannot access " 273 scr_LogPrint(LPRINT_LOGNORM, "ERROR: Cannot access "
274 "history log directory, logging DISABLED"); 274 "history log directory, logging DISABLED");
275 UseFileLogging = FileLoadLogs = FALSE; 275 UseFileLogging = FileLoadLogs = FALSE;
276 } 276 }
277 } else { // Disable history logging 277 } else { // Disable history logging
278 if (RootDir) 278 g_free(RootDir);
279 g_free(RootDir);
280 } 279 }
281 } 280 }
282 281
283 inline void hlog_write_message(const char *jid, time_t timestamp, int sent, 282 inline void hlog_write_message(const char *jid, time_t timestamp, int sent,
284 const char *msg) 283 const char *msg)