Skip to content

Commit

Permalink
fix: dispose the hglobal if unused
Browse files Browse the repository at this point in the history
  • Loading branch information
anna-is-cute committed Jun 21, 2024
1 parent 8ed6058 commit dbaef0d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Util/Support.cs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,9 @@ internal void CopyDalamudLog() {
Type = NotificationType.Info,
Content = "dalamud.log file copied to clipboard.",
});
} else {
hGlobal.Dispose();
}
}
}
}
}

0 comments on commit dbaef0d

Please sign in to comment.