aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/image.c7
2 files changed, 11 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 26019c1302d..9161d4c40de 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12012-07-13 Kalle Kankare <kalle.kankare@iki.fi> (tiny change)
2
3 * image.c (Fimagemagick_types): Initialize ex with GetExceptionInfo
4 and free it with DestroyExceptionInfo (Bug#11558).
5
12012-07-13 Juanma Barranquero <lekktu@gmail.com> 62012-07-13 Juanma Barranquero <lekktu@gmail.com>
2 7
3 * s/ms-w32.h (FIRST_PTY_LETTER, HAVE_SOCKETS): Move to nt/config.nt. 8 * s/ms-w32.h (FIRST_PTY_LETTER, HAVE_SOCKETS): Move to nt/config.nt.
diff --git a/src/image.c b/src/image.c
index 88d2f36cda9..6f2afb28cd2 100644
--- a/src/image.c
+++ b/src/image.c
@@ -7968,9 +7968,14 @@ and `imagemagick-types-inhibit'. */)
7968 Lisp_Object typelist = Qnil; 7968 Lisp_Object typelist = Qnil;
7969 size_t numf = 0; 7969 size_t numf = 0;
7970 ExceptionInfo ex; 7970 ExceptionInfo ex;
7971 char **imtypes = GetMagickList ("*", &numf, &ex); 7971 char **imtypes;
7972 size_t i; 7972 size_t i;
7973 Lisp_Object Qimagemagicktype; 7973 Lisp_Object Qimagemagicktype;
7974
7975 GetExceptionInfo(&ex);
7976 imtypes = GetMagickList ("*", &numf, &ex);
7977 DestroyExceptionInfo(&ex);
7978
7974 for (i = 0; i < numf; i++) 7979 for (i = 0; i < numf; i++)
7975 { 7980 {
7976 Qimagemagicktype = intern (imtypes[i]); 7981 Qimagemagicktype = intern (imtypes[i]);