Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit368e87e

Browse files
committed
Use malloc/palloc as appropriate.
1 parentd4fb1b2 commit368e87e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

‎src/backend/libpq/md5.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,13 @@ typedef unsigned char unsigned8;
2828
typedefunsignedintunsigned32;
2929
typedefunsigned longunsigned64;
3030

31+
#ifdefFRONTEND
32+
#undef palloc
33+
#definepalloc malloc
34+
#undef pfree
35+
#definepfree free
36+
#endif
37+
3138
/*
3239
*The returned array is allocated using malloc. the caller should free it
3340
* when it is no longer needed.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp