devilhorns pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=60859b4789b2b2445b066faa7637a0a14810675a
commit 60859b4789b2b2445b066faa7637a0a14810675a Author: Chris Michael <[email protected]> Date: Tue Feb 7 12:00:15 2017 -0500 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 <[email protected]> --- src/lib/elput/elput_evdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/elput/elput_evdev.c b/src/lib/elput/elput_evdev.c index daa4673..a83ebc1 100644 --- a/src/lib/elput/elput_evdev.c +++ b/src/lib/elput/elput_evdev.c @@ -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; } --
