mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-09 04:48:08 +02:00
[drm] plug driver_name leak
The previous commit accidentially added a small memory leak. This commit mops that up.
This commit is contained in:
parent
6e2df779ed
commit
d00973529c
1 changed files with 2 additions and 0 deletions
|
|
@ -518,6 +518,8 @@ load_driver (ply_renderer_backend_t *backend)
|
|||
backend->driver_supports_mapping_console = false;
|
||||
}
|
||||
|
||||
free (driver_name);
|
||||
|
||||
if (backend->driver_interface == NULL)
|
||||
{
|
||||
#ifdef PLY_ENABLE_LIBKMS
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue