summaryrefslogtreecommitdiff
path: root/io/channel-buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'io/channel-buffer.c')
-rw-r--r--io/channel-buffer.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/io/channel-buffer.c b/io/channel-buffer.c
index 43d795976..3e5117bf2 100644
--- a/io/channel-buffer.c
+++ b/io/channel-buffer.c
@@ -140,7 +140,6 @@ static int qio_channel_buffer_close(QIOChannel *ioc,
QIOChannelBuffer *bioc = QIO_CHANNEL_BUFFER(ioc);
g_free(bioc->data);
- bioc->data = NULL;
bioc->capacity = bioc->usage = bioc->offset = 0;
return 0;