From f68116b9d5afef3c343faeb599a3c0ffc8e9b244 Mon Sep 17 00:00:00 2001 From: anthony Date: Sat, 14 Apr 2012 12:54:41 +0000 Subject: [PATCH] Minor docs and notes --- MagickCore/morphology.c | 4 +++- MagickCore/property.c | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) 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, -- 2.50.1