mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-08 04:30:45 -08:00
* image.c (Fimagemagick_types): Initialize ex with GetExceptionInfo
and free it with DestroyExceptionInfo. Fixes: debbugs:11558
This commit is contained in:
parent
ef099b57b6
commit
2277de02b9
2 changed files with 11 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2012-07-13 Kalle Kankare <kalle.kankare@iki.fi> (tiny change)
|
||||
|
||||
* image.c (Fimagemagick_types): Initialize ex with GetExceptionInfo
|
||||
and free it with DestroyExceptionInfo (Bug#11558).
|
||||
|
||||
2012-07-13 Juanma Barranquero <lekktu@gmail.com>
|
||||
|
||||
* s/ms-w32.h (FIRST_PTY_LETTER, HAVE_SOCKETS): Move to nt/config.nt.
|
||||
|
|
|
|||
|
|
@ -7968,9 +7968,14 @@ and `imagemagick-types-inhibit'. */)
|
|||
Lisp_Object typelist = Qnil;
|
||||
size_t numf = 0;
|
||||
ExceptionInfo ex;
|
||||
char **imtypes = GetMagickList ("*", &numf, &ex);
|
||||
char **imtypes;
|
||||
size_t i;
|
||||
Lisp_Object Qimagemagicktype;
|
||||
|
||||
GetExceptionInfo(&ex);
|
||||
imtypes = GetMagickList ("*", &numf, &ex);
|
||||
DestroyExceptionInfo(&ex);
|
||||
|
||||
for (i = 0; i < numf; i++)
|
||||
{
|
||||
Qimagemagicktype = intern (imtypes[i]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue