Misc minor fixes (Fix some minor compil warnings).

This commit is contained in:
unknown
2015-01-18 12:49:32 +01:00
committed by jean-pierre charras
parent ac539b9578
commit 8876fdf4af
8 changed files with 60 additions and 36 deletions
+6
View File
@@ -158,6 +158,12 @@ int bitmap2component( potrace_bitmap_t* aPotrace_bitmap, FILE* aOutfile,
st = potrace_trace( param, aPotrace_bitmap );
if( !st || st->status != POTRACE_STATUS_OK )
{
if( st )
{
potrace_state_free( st );
}
potrace_param_free( param );
fprintf( stderr, "Error tracing bitmap: %s\n", strerror( errno ) );
return 1;
}