forked from enlightenment/efl
emotion: revert "free channels only if there's channel
to free" This reverts commit rev 75741. SVN revision: 75796
This commit is contained in:
parent
de76a70b6b
commit
4e31ca015e
|
@ -390,7 +390,7 @@ _audio_channels_free(Emotion_Generic_Video *ev)
|
||||||
int i;
|
int i;
|
||||||
for (i = 0; i < ev->audio_channels_count; i++)
|
for (i = 0; i < ev->audio_channels_count; i++)
|
||||||
eina_stringshare_del(ev->audio_channels[i].name);
|
eina_stringshare_del(ev->audio_channels[i].name);
|
||||||
if (ev->audio_channels_count) free(ev->audio_channels);
|
free(ev->audio_channels);
|
||||||
ev->audio_channels_count = 0;
|
ev->audio_channels_count = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -400,7 +400,7 @@ _video_channels_free(Emotion_Generic_Video *ev)
|
||||||
int i;
|
int i;
|
||||||
for (i = 0; i < ev->video_channels_count; i++)
|
for (i = 0; i < ev->video_channels_count; i++)
|
||||||
eina_stringshare_del(ev->video_channels[i].name);
|
eina_stringshare_del(ev->video_channels[i].name);
|
||||||
if (ev->video_channels_count) free(ev->video_channels);
|
free(ev->video_channels);
|
||||||
ev->video_channels_count = 0;
|
ev->video_channels_count = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -410,7 +410,7 @@ _spu_channels_free(Emotion_Generic_Video *ev)
|
||||||
int i;
|
int i;
|
||||||
for (i = 0; i < ev->spu_channels_count; i++)
|
for (i = 0; i < ev->spu_channels_count; i++)
|
||||||
eina_stringshare_del(ev->spu_channels[i].name);
|
eina_stringshare_del(ev->spu_channels[i].name);
|
||||||
if (ev->spu_channels_count) free(ev->spu_channels);
|
free(ev->spu_channels);
|
||||||
ev->spu_channels_count = 0;
|
ev->spu_channels_count = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue