rpm: fix memory leak

Closes rhbz#1016780.

Signed-off-by: Martin Milata <mmilata@redhat.com>
Merge pull request #120 from abrt/rhbz1016780

rpm: fix memory leak

Closes rhbz#1016780.

Signed-off-by: Martin Milata <mmilata@redhat.com>