summaryrefslogtreecommitdiff
path: root/community/xchat-systray-integration/segfault-fix.patch
blob: c824f4a1ed02128d6cf4d453067f132d2b74f5c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
diff -Nur xchat-systray-integration-2.4.5/src/menu.c xchat-systray-integration-2.4.5-segfault-fix/src/menu.c
--- xchat-systray-integration-2.4.5/src/menu.c	2004-04-30 14:38:10.000000000 +0200
+++ xchat-systray-integration-2.4.5-segfault-fix/src/menu.c	2004-08-25 00:34:04.321825360 +0200
@@ -10,7 +10,6 @@
 	char command[156]="exec ";
 	strcat(command, bpath);
 	xchat_command( ph, command );
-	g_free(command);
 
 }
 
@@ -20,7 +19,6 @@
 	char command[156]="exec ";
 	strcat(command, epath);
 	xchat_command( ph, command );
-	g_free(command);
 
 }
 
@@ -30,7 +28,6 @@
 	char command[156]="exec ";
 	strcat(command, ppath);
 	xchat_command( ph, command );
-	g_free(command);
 
 }