diff src/exiv2.cc @ 1025:448d174454e1

fixed possible endless loop
author nadvornik
date Sun, 31 Aug 2008 18:53:11 +0000
parents 9865e22d05f3
children 95c418661be8
line wrap: on
line diff
--- a/src/exiv2.cc	Sun Aug 31 12:29:49 2008 +0000
+++ b/src/exiv2.cc	Sun Aug 31 18:53:11 2008 +0000
@@ -742,6 +742,7 @@
 			g_free(ud);
 			return;
 			}
+		work = work->next;
 		}
 	g_assert_not_reached();
 }