Skip to content

Commit

Permalink
Fix a segfault occuring when enabling debug mode.
Browse files Browse the repository at this point in the history
At this point il->fd can be null.
  • Loading branch information
Laurent Monin committed Apr 4, 2008
1 parent e8cca01 commit b74a5e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/thumb_standard.c
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ static void thumb_loader_std_done_cb(ImageLoader *il, gpointer data)
if (debug)
{
printf("thumb image done: %s\n", tl->source_path);
printf(" from: %s\n", tl->il->fd->path);
printf(" from: %s\n", tl->il->path);
}

pixbuf = image_loader_get_pixbuf(tl->il);
Expand Down

0 comments on commit b74a5e4

Please sign in to comment.