summaryrefslogtreecommitdiff
path: root/src/ipcpd/normal/shm_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipcpd/normal/shm_pci.c')
-rw-r--r--src/ipcpd/normal/shm_pci.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ipcpd/normal/shm_pci.c b/src/ipcpd/normal/shm_pci.c
index 1170adff..001463eb 100644
--- a/src/ipcpd/normal/shm_pci.c
+++ b/src/ipcpd/normal/shm_pci.c
@@ -188,8 +188,6 @@ buffer_t * shm_pci_ser_buf(buffer_t * buf,
memcpy(buffer->data + pci_info.head_size,
buf->data, buf->len);
- free(buf->data);
-
if (pci_info.dtc.has_chk)
crc32((uint32_t *) (buffer->data +
pci_info.head_size + buf->len),