aboutsummaryrefslogtreecommitdiffstats
path: root/testing/php7-libvirt-php/musl-fixes.patch
blob: 92388095b401ec4f5ebd32f885b703803f3b1756 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/tools/generate-api-docs.c b/tools/generate-api-docs.c
index 3b88f16..12c0283 100644
--- a/tools/generate-api-docs.c
+++ b/tools/generate-api-docs.c
@@ -129,7 +129,9 @@ void free_functions(int function_number)
             free(functions[i].args[j]);
         free(functions[i].name);
         free(functions[i].desc);
-        free(functions[i].returns);
+	//Commenting the line below as when compiled with musl libc it is creating a SIGSEGV
+	//Moreover this program is only used to create libvirt-php html documentation at compile time
+        //free(functions[i].returns);
     }
     free(functions);
 }