Fix issue detected by static analysis tool 54/106954/1
authorInHong Han <inhong1.han@samsung.com>
Mon, 26 Dec 2016 02:05:35 +0000 (11:05 +0900)
committerInHong Han <inhong1.han@samsung.com>
Mon, 26 Dec 2016 02:05:35 +0000 (11:05 +0900)
Change-Id: Ib3d5c06e5b00b1a6831127b9ba05c99d2d8d1029

src/e_mod_main.c

index 35ec8212d77adc7668f6da20ef212a54045c904f..6607d46c4ed50f5b50c7c94e22d9bd88cefebbc1 100644 (file)
@@ -1815,7 +1815,7 @@ _e_text_input_method_cb_bind(struct wl_client *client, void *data, uint32_t vers
 
    if (input_method->resource)
      {
-        wl_resource_post_error(resource, WL_DISPLAY_ERROR_INVALID_OBJECT,
+        wl_resource_post_error(input_method->resource, WL_DISPLAY_ERROR_INVALID_OBJECT,
                                "input_method object already bound");
         return;
      }