[PATCH 3/3] Remove now-misleading comment
Mikhail Gusarov
dottedmag at dottedmag.net
Sun Oct 24 14:33:20 PDT 2010
Signed-off-by: Mikhail Gusarov <dottedmag at dottedmag.net>
---
os/log.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/os/log.c b/os/log.c
index 94f76aa..f5dfdbf 100644
--- a/os/log.c
+++ b/os/log.c
@@ -177,7 +177,6 @@ LogInit(const char *fname, const char *backup)
char *logFileName = NULL;
if (fname && *fname) {
- /* malloc() can't be used yet. */
logFileName = malloc(strlen(fname) + strlen(display) + 1);
if (!logFileName)
FatalError("Cannot allocate space for the log file name\n");
--
1.7.1
More information about the xorg-devel
mailing list