mirror of
http://mpg123.de/trunk/.git
synced 2025-07-30 02:01:12 +03:00
Fix a memory leak each. Examples should'n have those... even if it is just on death because of error.
git-svn-id: svn://scm.orgis.org/mpg123/trunk@2828 35dc7657-300d-0410-a2e5-dc2837fedb53
This commit is contained in:
@ -168,6 +168,7 @@ int main(int argc, char **argv)
|
||||
out = fopen(argv[2], "wb");
|
||||
if(out == NULL)
|
||||
{
|
||||
fclose(in);
|
||||
fprintf(stderr,"Unable to open output file %s\n", argv[2]);
|
||||
return -1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user