Move allocations out of rpmps object init method
authorPanu Matilainen <pmatilai@redhat.com>
Tue, 22 Sep 2009 15:55:09 +0000 (18:55 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Tue, 22 Sep 2009 15:55:09 +0000 (18:55 +0300)
commit00d683ce88748080ce78d1e2d802a401b2d30261
treeb61227d363b4bcfca1601e173f0884a60e0c0b82
parent4c85c7e605ee0312e51c8614d98c4740041ec4e1
Move allocations out of rpmps object init method
- tp_init can be called several times, allocating from there leaks memory
- tp_init gets called automatically on object creation, dont call manually
- nothing to initialize for rpmps...
python/rpmps-py.c