projects
/
postgres-xl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a362cd4
)
Plug a memory leak that might help OOM situations in ALTER TABLE .. ADD NODE
author
Pavan Deolasee
<
[email protected]
>
Thu, 14 Apr 2016 07:15:18 +0000
(12:45 +0530)
committer
Pavan Deolasee
<
[email protected]
>
Thu, 14 Apr 2016 07:17:08 +0000
(12:47 +0530)
case
Report by Florian Iragne
src/backend/pgxc/locator/redistrib.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/pgxc/locator/redistrib.c
b/src/backend/pgxc/locator/redistrib.c
index 200d6424dc6117dfa00d4b81b2c7b47dbd514a1b..13074e885ac0686d217c68148dce7f4453d45836 100644
(file)
--- a/
src/backend/pgxc/locator/redistrib.c
+++ b/
src/backend/pgxc/locator/redistrib.c
@@
-549,6
+549,8
@@
distrib_copy_from(RedistribState *distribState, ExecNodes *exec_nodes)
typioparam, typmod);
is_null = false;
}
+
+ pfree(fields);
}
if (DataNodeCopyIn(data, len,