Christian Costa <titan.costa(a)gmail.com> writes:
> @@ -713,9 +716,16 @@ int wmain( int argc, WCHAR *argv[] )
> argv[--argc] = NULL;
> }
> }
> - return extract_cabinet( buffer );
> + WINE_MESSAGE("Extracting file(s) from cabinet %s\n", wine_dbgstr_a(cab_file));
> + ret = extract_cabinet( buffer );
> + break;
> default:
> usage();
> - return 1;
> + ret = 1;
> + break;
> }
> +
> + cab_free(cab_file);
> +
> + return ret;
I don't think that's very useful. And freeing memory on process exit is
even less useful.
--
Alexandre Julliard
julliard(a)winehq.org