diff --git a/src/lib/ecore_x/xlib/ecore_x_selection.c b/src/lib/ecore_x/xlib/ecore_x_selection.c index 269ea342ed..8d38b60d3f 100644 --- a/src/lib/ecore_x/xlib/ecore_x_selection.c +++ b/src/lib/ecore_x/xlib/ecore_x_selection.c @@ -562,7 +562,7 @@ ecore_x_selection_convert(Ecore_X_Atom selection, free(tgt_str); if (r) { - *data_ret = data; + if (data_ret) *data_ret = data; return r; } else