bug fix
authorRalph Ronnquist <ralph.ronnquist@gmail.com>
Thu, 11 Nov 2021 08:06:21 +0000 (19:06 +1100)
committerRalph Ronnquist <ralph.ronnquist@gmail.com>
Thu, 11 Nov 2021 08:06:21 +0000 (19:06 +1100)
binary_storage.c

index 0a4321e7d69f61bec66a4b44c1c51157e4bdafb4..0f0289119baa719a38fff12eea2a920878cb0727 100644 (file)
@@ -118,7 +118,7 @@ char *__read_file_sidecar(const char *path, int *buffer_size)
     debug_print("path=%s sidecar_path=%s\n", path, sidecar_path);
 
     char *buffer = __read_file(sidecar_path, buffer_size);
-    free (sidecar_path);
+    strfree (sidecar_path);
     return buffer;
 }