Fix a comment.
authorEric Blake <ebb9@byu.net>
Thu, 10 Jan 2008 23:36:17 +0000 (00:36 +0100)
committerBruno Haible <bruno@clisp.org>
Thu, 10 Jan 2008 23:36:17 +0000 (00:36 +0100)
ChangeLog
lib/relocatable.h

index 7c7c885..d50d649 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2008-01-10  Eric Blake  <ebb9@byu.net>
 
+       * lib/relocatable.h: Fix a comment.
+
+2008-01-10  Eric Blake  <ebb9@byu.net>
+
        Share two-way algorithm.
        * lib/str-two-way.h: New file, merged from...
        * lib/memmem.c: ...here...
index 8f1e2aa..5dfd710 100644 (file)
@@ -54,9 +54,9 @@ extern RELOCATABLE_DLL_EXPORTED void
    string that you can free with free() after casting it to 'char *'.  */
 extern const char * relocate (const char *pathname);
 
-/* Memory management: relocate() leaks memory, because it has to construct
-   a fresh pathname.  If this is a problem because your program calls
-   relocate() frequently, think about caching the result.  Or free the
+/* Memory management: relocate() potentially allocates memory, because it has
+   to construct a fresh pathname.  If this is a problem because your program
+   calls relocate() frequently, think about caching the result.  Or free the
    return value if it was different from the argument pathname.  */
 
 /* Convenience function: