projects
/
pg_filedump.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34ac685
)
Bugfix: free dynamically allocated memory
author
Karina Litskevich
<litskevichkarina@gmail.com>
Mon, 28 Aug 2023 11:53:12 +0000
(14:53 +0300)
committer
Karina Litskevich
<litskevichkarina@gmail.com>
Mon, 28 Aug 2023 11:54:44 +0000
(14:54 +0300)
decode.c
patch
|
blob
|
blame
|
history
diff --git
a/decode.c
b/decode.c
index 85a9bed482f59da49db7efce9041ce3e25d2140a..565ef58a76ff8e77dbfb6155322a2de17a62ad70 100644
(file)
--- a/
decode.c
+++ b/
decode.c
@@
-1270,6
+1270,7
@@
static int DumpCompressedString(const char *data, int32 compressed_size, int (*p
#else
printf("Error: compression method lz4 not supported.\n");
printf("Try to rebuild pg_filedump for PostgreSQL server of version 14+ with --with-lz4 option.\n");
+ free(decompress_tmp_buff);
return -2;
#endif
default: