1. Fix build error on wearable profile - without WAYLAND feature
Change-Id: I5110ba080fb99f7e44e957041d3c1607c99b3a53
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
Name: capi-media-camera
Summary: A Camera API
-Version: 0.2.19
+Version: 0.2.20
Release: 0
Group: Multimedia/API
License: Apache-2.0
}
_camera_remove_idle_event_all(pc->cb_info);
_client_callback_destroy(pc->cb_info);
-
+#ifdef HAVE_WAYLAND
if (pc->wl_info) {
g_free(pc->wl_info);
pc->wl_info = NULL;
}
+#endif /* HAVE_WAYLAND */
g_free(pc);
pc = NULL;
}
}
+#ifdef HAVE_WAYLAND
if (pc->wl_info) {
g_free(pc->wl_info);
pc->wl_info = NULL;
}
pc->wl_info = wl_info;
+#endif /* HAVE_WAYLAND */
return CAMERA_ERROR_NONE;;
} else {
}
_SET_DISPLAY_ERROR:
+#ifdef HAVE_WAYLAND
if (wl_info) {
g_free(wl_info);
wl_info = NULL;
}
+#endif /* HAVE_WAYLAND */
return __convert_camera_error_code(__func__, ret);
}