projects
/
sxemacs
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3a01be
)
Coverity: Resource leak: CID 180
author
Nelson Ferreira
<nelson.ferreira@ieee.org>
Sat, 21 Jan 2012 03:57:44 +0000
(22:57 -0500)
committer
Nelson Ferreira
<nelson.ferreira@ieee.org>
Sat, 21 Jan 2012 03:57:44 +0000
(22:57 -0500)
* lib-src/movemail.c (lock_dot): free the memory
Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
lib-src/movemail.c
patch
|
blob
|
history
diff --git
a/lib-src/movemail.c
b/lib-src/movemail.c
index
66456ed
..
909a7cc
100644
(file)
--- a/
lib-src/movemail.c
+++ b/
lib-src/movemail.c
@@
-634,6
+634,7
@@
static void lock_dot(char *filename)
}
}
strcpy(dotlock_filename, filename);
+ free(tempname);
}
#endif /* not DISABLE_DIRECT_ACCESS */