summaryrefslogtreecommitdiff
path: root/legacy/emotion/src/modules/generic/emotion_generic.c
diff options
context:
space:
mode:
Diffstat (limited to 'legacy/emotion/src/modules/generic/emotion_generic.c')
-rw-r--r--legacy/emotion/src/modules/generic/emotion_generic.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/legacy/emotion/src/modules/generic/emotion_generic.c b/legacy/emotion/src/modules/generic/emotion_generic.c
index a7692712ca..e4771ce822 100644
--- a/legacy/emotion/src/modules/generic/emotion_generic.c
+++ b/legacy/emotion/src/modules/generic/emotion_generic.c
@@ -391,6 +391,7 @@ _audio_channels_free(Emotion_Generic_Video *ev)
391 for (i = 0; i < ev->audio_channels_count; i++) 391 for (i = 0; i < ev->audio_channels_count; i++)
392 eina_stringshare_del(ev->audio_channels[i].name); 392 eina_stringshare_del(ev->audio_channels[i].name);
393 free(ev->audio_channels); 393 free(ev->audio_channels);
394 ev->audio_channels = NULL;
394 ev->audio_channels_count = 0; 395 ev->audio_channels_count = 0;
395} 396}
396 397
@@ -401,6 +402,7 @@ _video_channels_free(Emotion_Generic_Video *ev)
401 for (i = 0; i < ev->video_channels_count; i++) 402 for (i = 0; i < ev->video_channels_count; i++)
402 eina_stringshare_del(ev->video_channels[i].name); 403 eina_stringshare_del(ev->video_channels[i].name);
403 free(ev->video_channels); 404 free(ev->video_channels);
405 ev->video_channels = NULL;
404 ev->video_channels_count = 0; 406 ev->video_channels_count = 0;
405} 407}
406 408
@@ -411,6 +413,7 @@ _spu_channels_free(Emotion_Generic_Video *ev)
411 for (i = 0; i < ev->spu_channels_count; i++) 413 for (i = 0; i < ev->spu_channels_count; i++)
412 eina_stringshare_del(ev->spu_channels[i].name); 414 eina_stringshare_del(ev->spu_channels[i].name);
413 free(ev->spu_channels); 415 free(ev->spu_channels);
416 ev->spu_channels = NULL;
414 ev->spu_channels_count = 0; 417 ev->spu_channels_count = 0;
415} 418}
416 419