Diff of /libop/op_cpu_type.c [6ee980] .. [e4db77]  Maximize  Restore

  Switch to side-by-side view

--- a/libop/op_cpu_type.c
+++ b/libop/op_cpu_type.c
@@ -243,10 +243,10 @@
 
 static void release_at_hw_platform(void)
 {
-	ElfW(auxv_t) * my_auxv = NULL;
-
-	if ((my_auxv = (ElfW(auxv_t)*) _auxv_fetch()))
-		free(my_auxv);
+	if (auxv_buf) {
+		free(auxv_buf);
+		auxv_buf = NULL;
+	}
 }
 
 static op_cpu _try_ppc64_arch_generic_cpu(void)

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks