summaryrefslogtreecommitdiff
path: root/src/lib/efl_wl/x11.x
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2017-07-12 11:24:37 -0400
committerChris Michael <cp.michael@samsung.com>2017-07-12 11:24:37 -0400
commit627fc6842adc64da7ee0d4ac25f5bb1ea1aab1ea (patch)
treefc8b2fef02ecf008e43fba0634d13a35d6d06959 /src/lib/efl_wl/x11.x
parentc45da5c138dca2b9ff26143572c8aee76736a9e7 (diff)
efl_wl: Fix resource leak
Coverity reports that 'name' is leaked here, so free the return ecore_x_atom_name_get. Fixes CID1377537 @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
Diffstat (limited to '')
-rw-r--r--src/lib/efl_wl/x11.x1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/efl_wl/x11.x b/src/lib/efl_wl/x11.x
index f554b8eaaf..75a1da7b96 100644
--- a/src/lib/efl_wl/x11.x
+++ b/src/lib/efl_wl/x11.x
@@ -350,6 +350,7 @@ x11_selection_request(void *d EINA_UNUSED, int t EINA_UNUSED, Ecore_X_Event_Sele
350 eina_hash_add(pipes, &p->win, p); 350 eina_hash_add(pipes, &p->win, p);
351 break; 351 break;
352 } 352 }
353 free(name);
353 } 354 }
354 return ECORE_CALLBACK_RENEW; 355 return ECORE_CALLBACK_RENEW;
355} 356}