src: fix multiple resource leaks in loops
All of the variables are filled inside a loop and therefore needs to be also freed in every cycle. Signed-off-by: NPavel Hrdina <phrdina@redhat.com> (cherry picked from commit ffc810b7)
Showing
想要评论请 注册 或 登录