Commit 6caa1109 authored by Seungha Yang's avatar Seungha Yang 🐑
Browse files

nvenc: g_free is null-safe

parent 002c8405
......@@ -1900,10 +1900,8 @@ out:
error:
flow = GST_FLOW_ERROR;
if (state)
g_free (state);
if (input_buffer)
g_free (input_buffer);
g_free (state);
g_free (input_buffer);
goto out;
}
......
Supports Markdown
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