From: anthony Date: Sat, 14 Apr 2012 12:54:41 +0000 (+0000) Subject: Minor docs and notes X-Git-Tag: 7.0.1-0~5809 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f68116b9d5afef3c343faeb599a3c0ffc8e9b244;p=imagemagick Minor docs and notes --- diff --git a/MagickCore/morphology.c b/MagickCore/morphology.c index a5896d2ba..2bd8cff9d 100644 --- a/MagickCore/morphology.c +++ b/MagickCore/morphology.c @@ -260,7 +260,9 @@ static KernelInfo *ParseKernelArray(const char *kernel_string) /* clear flags - for Expanding kernel lists thorugh rotations */ flags = NoValue; - /* Has a ':' in argument - New user kernel specification */ + /* Has a ':' in argument - New user kernel specification + FUTURE: this split on ':' could be done by StringToken() + */ p = strchr(kernel_string, ':'); if ( p != (char *) NULL && p < end) { diff --git a/MagickCore/property.c b/MagickCore/property.c index 1713f8c00..0be65ff6a 100644 --- a/MagickCore/property.c +++ b/MagickCore/property.c @@ -2562,6 +2562,9 @@ MagickExport char *GetNextImageProperty(const Image *image) % InterpretImageProperties() replaces any embedded formatting characters with % the appropriate image property and returns the interpreted text. % +% The returned interpreted text shoud be freed using DestoryString() or +% RelinquishMagickMemory() when finished. +% % The format of the InterpretImageProperties method is: % % char *InterpretImageProperties(const ImageInfo *image_info,Image *image,