Cleanups
This commit is contained in:
parent
7ed57ee77d
commit
739495027b
|
@ -243,7 +243,7 @@ static int cb_nbio_image_menu_thumbnail(void *data, size_t len)
|
|||
struct nbio_image_handle *image = nbio ?
|
||||
(struct nbio_image_handle*)nbio->data : NULL;
|
||||
|
||||
if (!nbio)
|
||||
if (!image)
|
||||
goto error;
|
||||
|
||||
handle = image_transfer_new(image->type);
|
||||
|
|
Loading…
Reference in New Issue