Move allocations out of rpmds object init method
authorPanu Matilainen <pmatilai@redhat.com>
Tue, 22 Sep 2009 15:53:15 +0000 (18:53 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Tue, 22 Sep 2009 15:53:15 +0000 (18:53 +0300)
commit4c85c7e605ee0312e51c8614d98c4740041ec4e1
treec5e60308b469824efe48bed8c4e04596ecbe4386
parentfdc62b3decfe6a798284fc8c76372092b3ee1f00
Move allocations out of rpmds 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
python/rpmds-py.c