Skip to content

Commit

Permalink
Free zeros buffer
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Kasko <[email protected]>
  • Loading branch information
staticlibs committed Apr 4, 2024
1 parent 519742d commit 6a4df8e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions contrib/babelfishpg_tds/src/backend/tds/tdstypeio.c
Original file line number Diff line number Diff line change
Expand Up @@ -1166,6 +1166,7 @@ TdsTypeNumericToDatum(StringInfo buf, int scale)
decStringOrig = decString;
len = strlen(decString) - 1;
pfree(tempString);
pfree(zeros);
}
if (num != 0)
{
Expand Down

0 comments on commit 6a4df8e

Please sign in to comment.