Commit 43a0f9a5 authored by Adam Jackson's avatar Adam Jackson 🎧
Browse files

modesetting: Don't free(dst) in drmmode_prop_info_copy



The destination is always either on the stack or in the middle of some
struct.

Signed-off-by: Adam Jackson's avatarAdam Jackson <ajax@redhat.com>
parent 36189449
Pipeline #5116 passed with stage
in 2 minutes and 41 seconds
......@@ -398,7 +398,6 @@ drmmode_prop_info_copy(drmmode_prop_info_ptr dst,
err:
while (i--)
free(dst[i].enum_values);
free(dst);
return FALSE;
}
......
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