[psaux] Fix memory leak (#45986).

* src/psaux/psobjs.c (ps_parser_load_field) <T1_FIELD_TYPE_MM_BBOX>:
Free `temp' in case of error.
2.6.5
Werner Lemberg 9 years ago
parent 7d364b7e51
commit 4942c2bb72
  1. 7
      ChangeLog
  2. 2
      src/psaux/psobjs.c

@ -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…
Cancel
Save