summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--geo-replication/src/gsyncd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/geo-replication/src/gsyncd.c b/geo-replication/src/gsyncd.c
index 77af6628d14..cf0e76f69c4 100644
--- a/geo-replication/src/gsyncd.c
+++ b/geo-replication/src/gsyncd.c
@@ -47,7 +47,6 @@ duplexpand(void **buf, size_t tsiz, size_t *len)
size_t osiz = tsiz * *len;
char *p = realloc(*buf, osiz << 1);
if (!p) {
- free(*buf);
return -1;
}