Commit d5a690d1 authored by Christian Kellner's avatar Christian Kellner

test: store: free path of TestStore

Plug a leak by free'ing the 'path' variable that was dynamically
allocated but not freed.
parent 9b9237dc
Pipeline #10005 passed with stage
in 12 minutes and 14 seconds
......@@ -44,8 +44,8 @@
typedef struct
const char *path;
BoltStore *store;
char *path;
BoltStore *store;
} TestStore;
......@@ -89,6 +89,8 @@ test_store_tear_down (TestStore *tt, gconstpointer user_data)
if (!ok)
g_warning ("Could not clean up dir: %s", error->message);
g_free (tt->path);
static void
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment