refactor: remove unnecessary logging from libc hooks

This commit is contained in:
goat 2020-01-13 22:33:49 +09:00
parent 4f9cfd3b45
commit 3ba590e3f9
2 changed files with 0 additions and 4 deletions

View file

@ -26,8 +26,6 @@ namespace Dalamud.Game.Internal.Libc {
}
public OwnedStdString NewString(byte[] content) {
Log.Verbose("Allocating");
// While 0x70 bytes in the memory should be enough in DX11 version,
// I don't trust my analysis so we're just going to allocate almost two times more than that.
var pString = Marshal.AllocHGlobal(256);

View file

@ -39,8 +39,6 @@ namespace Dalamud.Game.Internal.Libc {
// Something got seriously fucked.
throw new AccessViolationException();
}
Log.Verbose("Deallocting {Addr}", Address);
// Deallocate inner string first
this.dealloc(Address);