[psaux] Fix memory leak (#45986).
* src/psaux/psobjs.c (ps_parser_load_field) <T1_FIELD_TYPE_MM_BBOX>: Free `temp' in case of error.
This commit is contained in:
parent
7d364b7e51
commit
4942c2bb72
|
@ -1,3 +1,10 @@
|
|||
2015-09-17 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[psaux] Fix memory leak (#45986).
|
||||
|
||||
* src/psaux/psobjs.c (ps_parser_load_field) <T1_FIELD_TYPE_MM_BBOX>:
|
||||
Free `temp' in case of error.
|
||||
|
||||
2015-09-17 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[psaux] Improve tracing message.
|
||||
|
|
|
@ -1241,6 +1241,8 @@
|
|||
: ( i == 2 ? "third"
|
||||
: "fourth" ) ) ));
|
||||
error = FT_THROW( Invalid_File_Format );
|
||||
|
||||
FT_FREE( temp );
|
||||
goto Exit;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue