Fix bug 11010 - free descriptor only if get was successful - merge from 3.0
#START_USECASES: CU10 END_USECASEScategory.appearance=Appearancedimmed=dimmeddimmedDescription=Controls dimmed appearance of the controlvisible=visiblevisible.description=Controls visibility of the control