Ticket #47455 - valgrind - value mem leaks, uninit mem usage
https://fedorahosted.org/389/ticket/47455
Reviewed by: lkrispenz, nhosoi (Thanks!)
Branch: master
Fix Description: Can only free import job if it is not a task. If it is
a task, the job will be freed by the task destructor.
Platforms tested: RHEL6 x86_64
Flag Day: no
Doc impact: no
(cherry picked from commit 36a907be5accb9fccb5941683defb5b03140a1a6)