* image.c (imagemagick_filename_hint): New arg HINT_BUFFER.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 14 Aug 2013 07:00:25 +0000 (00:00 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 14 Aug 2013 07:00:25 +0000 (00:00 -0700)
commit01c3051fc39127302943846f15047da305c07df0
tree9dd6da012f924c380e0ddea8f075e3c814bb91bf
parent2084152aee6fe88fda43ffb5fd654aeae5d12129
* image.c (imagemagick_filename_hint): New arg HINT_BUFFER.

Use changed.  This avoids the need to call xmalloc and for the
caller to call xfree, and avoids memory leaks in some situations.
src/ChangeLog
src/image.c