[Svace Issue] Dynamic memory referenced by 'display' was allocated at SDL_malloc.c:36
by calling function 'SDL_malloc_REAL' at SDL_waylandvideo.c:212 and lost at SDL_waylandvideo.c:222.
refer https://www.libsdl.org/tmp/SDL/src/haptic/linux/SDL_syshaptic.c
Change-Id: Id5607d1d88aa15349e561b0d5397ea3944f08316
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
output = wl_registry_bind(d->registry, id, &wl_output_interface, 2);
if (!output) {
SDL_SetError("Failed to retrieve output.");
+ SDL_free(display);
return;
}