changeset 18246:e236b3bd4542

Eliminate some leaks.
author Richard Laager <rlaager@wiktel.com>
date Sun, 24 Jun 2007 22:20:15 +0000
parents 30b67808b85b
children 97671eb4991e
files libpurple/plugins/log_reader.c
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/plugins/log_reader.c	Sun Jun 24 22:19:51 2007 +0000
+++ b/libpurple/plugins/log_reader.c	Sun Jun 24 22:20:15 2007 +0000
@@ -314,6 +314,7 @@
 	data = log->logger_data;
 
 	g_free(data->path);
+	g_free(data);
 }
 
 
@@ -1168,6 +1169,8 @@
 
 	if (data->text)
 		g_string_free(data->text, FALSE);
+
+	g_free(data);
 }
 
 
@@ -1716,7 +1719,7 @@
 
 	g_free(data->path);
 	g_free(data->their_nickname);
-
+	g_free(data);
 }
 
 /*****************************************************************************
@@ -2123,6 +2126,7 @@
 	data = log->logger_data;
 
 	g_free(data->path);
+	g_free(data);
 }
 
 /*****************************************************************************