aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/jsonfuncs.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2020-01-27 11:02:05 +0900
committerMichael Paquier <michael@paquier.xyz>2020-01-27 11:02:05 +0900
commit10a525230fb18331dbcfd6a4a7248d76f55c331c (patch)
tree5130453fef8c9b1bd4d47bf5d2c8af02c5e49311 /src/backend/utils/adt/jsonfuncs.c
parent3ec20c7091e97a554e7447ac2b7f4ed795631395 (diff)
downloadpostgresql-10a525230fb18331dbcfd6a4a7248d76f55c331c.tar.gz
postgresql-10a525230fb18331dbcfd6a4a7248d76f55c331c.zip
Fix some memory leaks and improve restricted token handling on Windows
The leaks have been detected by a Coverity run on Windows. No backpatch is done as the leaks are minor. While on it, make restricted token creation more consistent in its error handling by logging an error instead of a warning if missing advapi32.dll, which was missing in the NT4 days. Any modern platform should have this DLL around. Now, if the library is not there, an error is still reported back to the caller, and nothing is done do there is no behavior change done in this commit. Author: Ranier Vilela Discussion: https://postgr.es/m/CAEudQApa9MG0foPkgPX87fipk=vhnF2Xfg+CfUyR08h4R7Mywg@mail.gmail.com
Diffstat (limited to 'src/backend/utils/adt/jsonfuncs.c')
0 files changed, 0 insertions, 0 deletions