diff options
| author | Johan Dahlin <johan@src.gnome.org> | 2005-11-15 22:13:03 +0000 |
|---|---|---|
| committer | Johan Dahlin <johan@src.gnome.org> | 2005-11-15 22:13:03 +0000 |
| commit | ae837b3cc01a2c7bc1cc5b90feee41a63ae7a611 (patch) | |
| tree | 9cb772cf8a83700246854e408048618402b1253f | |
| parent | aad48055fbdb7396005763780e0da23819914a88 (diff) | |
| download | pygobject-ae837b3cc01a2c7bc1cc5b90feee41a63ae7a611.tar.gz pygobject-ae837b3cc01a2c7bc1cc5b90feee41a63ae7a611.tar.xz pygobject-ae837b3cc01a2c7bc1cc5b90feee41a63ae7a611.zip | |
We always need to free interfaces since its a null terminated array.
* gobject/pygobject.c (pygobject_new_with_interfaces): We always
need to free interfaces since its a null terminated array.
| -rw-r--r-- | gobject/pygobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gobject/pygobject.c b/gobject/pygobject.c index 9efa376..ac61cb5 100644 --- a/gobject/pygobject.c +++ b/gobject/pygobject.c @@ -580,8 +580,8 @@ pygobject_new_with_interfaces(GType gtype) PyTuple_SetItem(bases, i+1, (PyObject*)py_interface_type); } - g_free(interfaces); } + g_free(interfaces); dict = PyDict_New(); |
