Attempt to fix mem leaks
Logic fix for manage groups

Spenser Shumaker <sshumake@redhat.com>