summary refs log tree commit diff stats
path: root/plugins/perl
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/perl')
-rw-r--r--plugins/perl/perl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/perl/perl.c b/plugins/perl/perl.c
index 74333516..240e74d1 100644
--- a/plugins/perl/perl.c
+++ b/plugins/perl/perl.c
@@ -753,7 +753,7 @@ XS (XS_HexChat_send_modes)
 		}
 		
 		if (target_count == 0) {
-			free (targets);
+			free ((char**) targets);
 			XSRETURN_EMPTY;
 		}
 
@@ -765,7 +765,7 @@ XS (XS_HexChat_send_modes)
 		}
 
 		hexchat_send_modes (ph, targets, target_count, modes_per_line, sign, mode);
-		free (targets);
+		free ((char**) targets);
 	}
 }
 static