git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ethumb@45197
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
DBG("received op: %d\n", op_id);
- r = 1;
switch (op_id)
{
case ETHUMBD_OP_NEW:
{
DBusMessageIter iter;
dbus_int32_t id = -1;
- const char *thumb;
- const char *thumb_key;
+ const char *thumb = NULL;
+ const char *thumb_key = NULL;
Ethumb_Client *client = data;
int t;
dbus_bool_t success;
}
end:
- eina_stringshare_del(thumb);
- eina_stringshare_del(thumb_key);
+ if (thumb) eina_stringshare_del(thumb);
+ if (thumb_key) eina_stringshare_del(thumb_key);
}
static void
if (pending->free_data)
pending->free_data(pending->data);
free(pending);
- found = 1;
break;
}
Evas_Object *o;
int r;
const char *file;
- float start;
Ethumb_Thumb_Format f;
struct _emotion_plugin *_plugin = calloc(sizeof(struct _emotion_plugin), 1);
_plugin->video = o;
ethumb_file_get(e, &file, NULL);
- start = ethumb_video_start_get(e);
+ ethumb_video_start_get(e);
f = ethumb_thumb_format_get(e);
emotion_object_file_set(o, file);