summaryrefslogtreecommitdiffstats
path: root/gmagick-php56.patch
blob: 68306f3bf1420c1f02ceb8fd347306ebc092976b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- pecl/gmagick/trunk/gmagick.c	2014/02/13 16:24:02	332848
+++ pecl/gmagick/trunk/gmagick.c	2014/03/03 13:44:25	332912
@@ -1232,7 +1232,11 @@
 		return FAILURE;
 	
 	InitializeMagick(cwd);
+#if PHP_VERSION_ID < 50600
 	free(cwd);
+#else        
+	efree(cwd);
+#endif
 
 	/* init constants */
 	php_gmagick_initialize_constants();