diff --git a/src/modules/music-control/gen/eldbus_media_player2_player.c b/src/modules/music-control/gen/eldbus_media_player2_player.c index eac833316..1a82afab4 100644 --- a/src/modules/music-control/gen/eldbus_media_player2_player.c +++ b/src/modules/music-control/gen/eldbus_media_player2_player.c @@ -147,6 +147,7 @@ on_media_player2_player_seeked(void *data, const Eldbus_Message *msg) if (!eldbus_message_arguments_get(msg, "x", &s_data->arg0)) { ERR("Error: Getting arguments from message."); + free(s_data); return; } ecore_event_add(MEDIA_PLAYER2_PLAYER_SEEKED_EVENT, s_data, media_player2_player_seeked_data_free, NULL);