Skip to content
Snippets Groups Projects
Commit 400f2496 authored by Simon McVittie's avatar Simon McVittie
Browse files

graphics: Fix use-after-free in a debug message


Diagnosed by scan-build during CI.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent c1a1478c
No related branches found
No related tags found
No related merge requests found
Pipeline #4252 passed
......@@ -3236,9 +3236,9 @@ _srt_list_modules_from_directory (gchar **envp,
}
if (!g_path_is_absolute (driver_path))
{
g_debug ("We were expecting an absolute path, instead we have: %s", driver_path);
g_free (full_path);
g_free (driver_path);
g_debug ("We were expecting an absolute path, instead we have: %s", driver_path);
goto out;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment