Commit 153603dd authored by giles's avatar giles

Don't leak an oggz handle when we can't open the file to be chopped.


git-svn-id: http://svn.annodex.net/liboggz/trunk@3701 8158c8cd-e7e1-0310-9fa4-c5954c97daef
parent 23ebc1b4
......@@ -737,6 +737,7 @@ chop (OCState * state)
if (state->outfile == NULL) {
fprintf (stderr, "oggz-chop: unable to open output file %s\n",
state->outfilename);
oggz_close(oggz);
return -1;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment