Move allocations out of rpmfi object init method
authorPanu Matilainen <pmatilai@redhat.com>
Tue, 22 Sep 2009 15:50:32 +0000 (18:50 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Tue, 22 Sep 2009 15:50:32 +0000 (18:50 +0300)
commitfdc62b3decfe6a798284fc8c76372092b3ee1f00
tree1bc9e3c822356f6e727d0f9c2633635111045cb8
parent337cb1bfea878931bf4bc410edeaec58a857b013
Move allocations out of rpmfi 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/rpmfi-py.c