diff options
author | Junkyeong Kim <jk0430.kim@samsung.com> | 2019-10-18 16:23:06 +0900 |
---|---|---|
committer | Junkyeong Kim <jk0430.kim@samsung.com> | 2019-10-18 16:23:09 +0900 |
commit | f3a128a93a083a6b6f8bf2249c4bdf92d43daa90 (patch) | |
tree | 6b57879b8aaa13b228ed7a19e4a102a8013d4e71 | |
parent | 08a8fefd6a20a4d9baaf392c546a81b957a208ed (diff) | |
download | libeom-f3a128a93a083a6b6f8bf2249c4bdf92d43daa90.tar.gz libeom-f3a128a93a083a6b6f8bf2249c4bdf92d43daa90.tar.bz2 libeom-f3a128a93a083a6b6f8bf2249c4bdf92d43daa90.zip |
eom: set init count value to 0
Change-Id: If8b6ef0a3856a6d2ec040f5d895cb3dbae01c76c
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
-rw-r--r-- | src/eom.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -285,6 +285,10 @@ _eom_get_eom_output_ids(int *count) eom_output_id *output_ids = NULL; int i; + if (!count) + return NULL; + *count = 0; + ret_array = eom_wayland_client_get_output_ids(); if (!ret_array) |