Fix column set leak
@@ -2381,7 +2381,7 @@ VOID PhMwpDispatchMenuCommand(
break;
}
- if (!PhIsNullOrEmptyString(columnSetName))
+ if (columnSetName)
{
PPH_STRING treeSettings;
PPH_STRING sortSettings;
@@ -2393,6 +2393,7 @@ VOID PhMwpDispatchMenuCommand(
PhDereferenceObject(treeSettings);
PhDereferenceObject(sortSettings);
+ PhDereferenceObject(columnSetName);
}
}
return;
