--- src/libstddjb/rm_rf.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/libstddjb/rm_rf.c b/src/libstddjb/rm_rf.c index 3f8c00d..b31cf97 100644 --- a/src/libstddjb/rm_rf.c +++ b/src/libstddjb/rm_rf.c _at_@ -1,11 +1,12 @@ /* ISC license. */ -/* MT-unsafe */ - #include <skalibs/skamisc.h> #include <skalibs/djbunix.h> int rm_rf (char const *filename) { - return rm_rf_tmp(filename, &satmp) ; + stralloc sa = STRALLOC_ZERO ; + int ret = rm_rf_tmp(filename, &sa) ; + stralloc_free(&sa) ; + return ret ; } -- 2.7.4Received on Tue Sep 26 2017 - 09:58:15 UTC
This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:38:49 UTC