diff options
author | Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp> | 2014-08-08 09:47:27 +0900 |
---|---|---|
committer | Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp> | 2014-08-12 22:16:47 +0900 |
commit | efa8e8b714e2c5e97b0e084402d1fedfd4888806 (patch) | |
tree | 7409682f2cd69784c9ce41481a8374babc58880e | |
parent | 8049908e734cf40fb11519f3c820b45041db4fe1 (diff) | |
download | wayland-ivi-extension-efa8e8b714e2c5e97b0e084402d1fedfd4888806.tar.gz |
ivi-controller: Fix NULL deref.
Signed-off-by: Nobuhiko Tanibata <NOBUHIKO_TANIBATA@denso.co.jp>
-rwxr-xr-x | weston-ivi-shell/src/ivi-controller.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weston-ivi-shell/src/ivi-controller.c b/weston-ivi-shell/src/ivi-controller.c index e050292..3a66d37 100755 --- a/weston-ivi-shell/src/ivi-controller.c +++ b/weston-ivi-shell/src/ivi-controller.c @@ -1027,9 +1027,9 @@ controller_screen_destroy(struct wl_client *client, } wl_list_remove(&ctrlscrn->link); + wl_resource_destroy(ctrlscrn->resource); free(ctrlscrn); ctrlscrn = NULL; - wl_resource_destroy(ctrlscrn->resource); break; } } |