forked from enlightenment/efl
elput: Delete output_name stringshare on error case
This actually should have been part of the previous patch which moved setting output_name to evdev, but it got missed so add it now. This ensures we cleanup the output_name stringshare on error. Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
6bd8313f02
commit
60859b4789
|
@ -1303,6 +1303,7 @@ _evdev_device_create(Elput_Seat *seat, struct libinput_device *device)
|
|||
return edev;
|
||||
|
||||
err:
|
||||
eina_stringshare_del(edev->output_name);
|
||||
free(edev);
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue