summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Straz <nstraz@redhat.com>2013-09-17 13:11:12 -0500
committerNathan Straz <nstraz@redhat.com>2013-09-17 18:04:33 -0400
commit20407605a41f191811c35b018c81ed048fc8daa2 (patch)
tree52c825cd0ed65dedc94ac76d02d527dec58da8f8
parentfbaa0680a0e7207d2274fed1b196e1c94f21c1c1 (diff)
downloadqarsh-20407605a41f191811c35b018c81ed048fc8daa2.zip
qarsh-20407605a41f191811c35b018c81ed048fc8daa2.tar.gz
qarsh-20407605a41f191811c35b018c81ed048fc8daa2.tar.xz
Don't free basename pointer, it wasn't malloc'd
-rw-r--r--qacp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/qacp.c b/qacp.c
index 45ee641..b8b006a 100644
--- a/qacp.c
+++ b/qacp.c
@@ -440,7 +440,6 @@ recvfiles(char **argv, int argc, int fileidx, short recursive)
qacp_recvonefile(rhost, rmtpath, cp);
free(cp);
- free(rbnp);
} else {
qacp_recvonefile(rhost, rmtpath, destpath);
}