summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authork.drabeniuk <k.drabeniuk@samsung.com>2016-04-25 11:03:04 +0300
committerSooChan Lim <sc1.lim@samsung.com>2016-05-11 01:59:07 -0700
commit53668d7947b0b903db78953ba499ec14ca9e0ba0 (patch)
treebd775dbf1eb052c6252591b0599f189a3ffa8d8f
parentedfb20cd3e552152878780577bfaa55fb133783e (diff)
downloadlibeom-53668d7947b0b903db78953ba499ec14ca9e0ba0.tar.gz
libeom-53668d7947b0b903db78953ba499ec14ca9e0ba0.tar.bz2
libeom-53668d7947b0b903db78953ba499ec14ca9e0ba0.zip
Fix destroying of output_info list in function eom_deinit()sandbox/marcheno/devel
Change-Id: I07a834b274575c1f40f7a77a9b08ec2dd2513dbf
-rwxr-xr-xsrc/eom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eom.c b/src/eom.c
index fc8140a..d3369d7 100755
--- a/src/eom.c
+++ b/src/eom.c
@@ -549,7 +549,7 @@ eom_deinit(void)
/* TODO: redesign the life-cycle of output_infos */
/* destory output_info. */
- for (l = output_info_list; l; l = g_list_next(l)) {
+ for (l = output_info_list; l; l = output_info_list) {
eom_output_info *output_info = (eom_output_info *)l->data;
output_info_list = g_list_remove(output_info_list, output_info);