changeset 28347:c5e0b85c3145

Leak fix for perl plugins.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Thu, 08 Oct 2009 18:16:41 +0000
parents 33856dfb5cbf
children c4fa41bb1672
files libpurple/plugins/perl/perl.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/plugins/perl/perl.c	Thu Oct 08 18:14:41 2009 +0000
+++ b/libpurple/plugins/perl/perl.c	Thu Oct 08 18:16:41 2009 +0000
@@ -621,6 +621,9 @@
 			g_free(gps);
 			plugin->info->extra_info = NULL;
 		}
+
+		g_free(plugin->info);
+		plugin->info = NULL;
 	}
 }