cheevos.c - cleanup

This commit is contained in:
twinaphex 2015-10-15 16:05:47 +02:00
parent 0a3db8f7bb
commit c02e8ee202

View File

@ -1057,11 +1057,7 @@ static const char* cheevos_http_get( const char* url, size_t* size )
while ( !net_http_connection_iterate( conn ) ) { }
if ( !net_http_connection_done( conn ) )
{
error1:
net_http_connection_free( conn );
return NULL;
}
goto error;
http = net_http_new( conn );
@ -1090,6 +1086,10 @@ error1:
return (char*)result;
error1:
net_http_connection_free( conn );
return NULL;
#else /* HAVE_NETWORKING */
RARCH_LOG( "CHEEVOS http get %s\n", url );