Skip to content

Commit

Permalink
fixed possible endless loop
Browse files Browse the repository at this point in the history
  • Loading branch information
nadvornik committed Aug 31, 2008
1 parent 131dc85 commit b10a2e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/exif.c
Original file line number Diff line number Diff line change
Expand Up @@ -1624,6 +1624,7 @@ void exif_free_preview(guchar *buf)
g_free(ud);
return;
}
work = work->next;
}
g_assert_not_reached();
}
Expand Down
1 change: 1 addition & 0 deletions src/exiv2.cc
Original file line number Diff line number Diff line change
Expand Up @@ -742,6 +742,7 @@ void exif_free_preview(guchar *buf)
g_free(ud);
return;
}
work = work->next;
}
g_assert_not_reached();
}
Expand Down

0 comments on commit b10a2e1

Please sign in to comment.