summary refs log tree commit diff stats
path: root/plugins
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2014-02-12 10:28:53 -0500
committerTingPing <tingping@tingping.se>2014-02-12 10:31:11 -0500
commitb17c0276de4da4cd75114d7e1c67738f894ad59e (patch)
treed6a9a824d704b8bdee5c2a1800b0fbffa1bd4b46 /plugins
parentba399eb7f9f788f2a261f1e912be79f742fd2070 (diff)
Fix some leaks
Diffstat (limited to 'plugins')
-rw-r--r--plugins/perl/perl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/perl/perl.c b/plugins/perl/perl.c
index 76722f7f..7ba38968 100644
--- a/plugins/perl/perl.c
+++ b/plugins/perl/perl.c
@@ -756,6 +756,7 @@ XS (XS_HexChat_send_modes)
 		}
 		
 		if (target_count == 0) {
+			free (targets);
 			XSRETURN_EMPTY;
 		}