Mikhail Gusarov wrote: > Signed-off-by: Mikhail Gusarov <[email protected]> > --- > 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");
Reviewed-by: Alan Coopersmith <[email protected]> -- -Alan Coopersmith- [email protected] Oracle Solaris Platform Engineering: X Window System _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
