git://scientific.zcu.cz
/
jra1mw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0eaf45c
)
- do not free noallocated string
author
Jiří Škrábal
<nykolas@ics.muni.cz>
Wed, 20 Jul 2005 10:00:10 +0000
(10:00 +0000)
committer
Jiří Škrábal
<nykolas@ics.muni.cz>
Wed, 20 Jul 2005 10:00:10 +0000
(10:00 +0000)
org.glite.lb.common/src/lb_maildir.c
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.lb.common/src/lb_maildir.c
b/org.glite.lb.common/src/lb_maildir.c
index
6711663
..
4155918
100644
(file)
--- 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; }