From 7a70569bcbda8810aa41b633158eb7ab8285656b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ji=C5=99=C3=AD=20=C5=A0kr=C3=A1bal?= Date: Wed, 20 Jul 2005 10:00:10 +0000 Subject: [PATCH] - do not free noallocated string --- org.glite.lb.common/src/lb_maildir.c | 1 - 1 file changed, 1 deletion(-) diff --git a/org.glite.lb.common/src/lb_maildir.c b/org.glite.lb.common/src/lb_maildir.c index 6711663..4155918 100644 --- a/org.glite.lb.common/src/lb_maildir.c +++ b/org.glite.lb.common/src/lb_maildir.c @@ -90,7 +90,6 @@ int edg_wll_MaildirStoreMsg( snprintf(lbm_errdesc, MAX_ERR_LEN, "Maximum tries limit reached with unsuccessful file creation"); return -1; } - if ( fname ) free(fname); snprintf(fname, PATH_MAX, "%s/%s/%ld.%d.%s", root, dirs[LBMD_DIR_TMP], time(NULL), getpid(), srvname); if ( (fhnd = open(fname, O_CREAT|O_EXCL|O_WRONLY, 00600)) < 0 ) { if ( errno == EEXIST ) { sleep(2); continue; } -- 1.8.2.3