fix memory leak in panel_stack_test

dummy was not getting freed.