mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-04 01:18:06 +02:00
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 <ajax@redhat.com>
This commit is contained in:
parent
361894497c
commit
43a0f9a5db
1 changed files with 0 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue