summaryrefslogtreecommitdiff
path: root/include/compiz.h
diff options
context:
space:
mode:
authorDavid Reveman <davidr@novell.com>2007-07-10 23:06:43 -0400
committerDavid Reveman <davidr@novell.com>2007-07-10 23:06:43 -0400
commitf3d450b9147c58cd3810f4b94f750aa30a9585e2 (patch)
tree0cdba869b2db041353c3eeab853019e650cdf7ce /include/compiz.h
parent72831592f1eb4148854b695b178029d272b19ca3 (diff)
downloadcompiz-core-doc-f3d450b9147c58cd3810f4b94f750aa30a9585e2.tar.gz
compiz-core-doc-f3d450b9147c58cd3810f4b94f750aa30a9585e2.tar.bz2
Have logLevelToString return a constant string and not
a buffer that needs to be freed. Fixes logging memory leak.
Diffstat (limited to 'include/compiz.h')
-rw-r--r--include/compiz.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/compiz.h b/include/compiz.h
index e9c490c..cefb7d7 100644
--- a/include/compiz.h
+++ b/include/compiz.h
@@ -998,7 +998,7 @@ logMessage (CompDisplay *d,
CompLogLevel level,
char *message);
-char *
+const char *
logLevelToString (CompLogLevel level);
int