diff --git a/upnphttp.c b/upnphttp.c index e3c3fae..61a6cdb 100644 --- a/upnphttp.c +++ b/upnphttp.c @@ -1762,7 +1762,7 @@ SendResp_resizedimg(struct upnphttp * h, char * object) if( ret != 2 ) { Send500(h); - return; + goto resized_error; } /* Figure out the best destination resolution we can use */ dstw = width;