1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-01-18 04:58:51 +02:00

Remove unneeded strFree() in storagePosixInfoListEntry().

This strFree() was the primary culprit in the performance issue fixed in 9eaeb33c.

Since the parent mem context is now freed regularly, this strFree() performs better, but still adds time so removing it seems best.
This commit is contained in:
David Steele 2019-08-22 10:28:08 -04:00
parent f88012cef3
commit 04e4fde573

View File

@ -182,8 +182,6 @@ storagePosixInfoListEntry(
storageInfo.name = name;
callback(callbackData, &storageInfo);
}
strFree(pathInfo);
}
FUNCTION_TEST_RETURN_VOID();