Closed a small memory leak found by valgrind

This commit is contained in:
Thomas Schmitt 2012-06-10 12:52:34 +02:00
parent 2cc387fcce
commit 3b95f4c4c4
1 changed files with 2 additions and 0 deletions

View File

@ -1347,6 +1347,8 @@ int write_head_part2(Ecma119Image *target, int *write_count, int flag)
ret = ISO_SUCCESS;
ex:;
if (buf != NULL)
free(buf);
return ret;
}