]> git.ipfire.org Git - thirdparty/libvirt.git/commit
python: Don't free must-not-free variables
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 23 May 2011 12:41:00 +0000 (14:41 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 24 May 2011 08:33:36 +0000 (10:33 +0200)
commitef54d045c34caab7f17b2f6b46fc978d9baf81e2
tree363ddd5d9ebcb2e6f1ac76d99c3ddc6f186a12bd
parent5f88d198bdcca20a7045e7ecd16842093184512c
python: Don't free must-not-free variables

py_str() function call PyString_AsString(). As written in documentation,
the caller must not free the returned value, because it points to some
internal structures.
python/libvirt-override.c