summaryrefslogtreecommitdiffstats
path: root/glib/pygiochannel.c
diff options
context:
space:
mode:
Diffstat (limited to 'glib/pygiochannel.c')
-rw-r--r--glib/pygiochannel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/pygiochannel.c b/glib/pygiochannel.c
index 544d3dd..45ccf52 100644
--- a/glib/pygiochannel.c
+++ b/glib/pygiochannel.c
@@ -279,7 +279,7 @@ static PyObject*
py_io_channel_write_lines(PyGIOChannel* self, PyObject *args, PyObject *kwargs)
{
static char *kwlist[] = { "lines", NULL };
- char *buf;
+ char *buf = NULL;
Py_ssize_t buf_len;
gsize count;
GError* error = NULL;