projects
/
crypto.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3fe6f1
)
Copy OOM handler from parent to child.
author
Pekka Riikonen
<priikone@silcnet.org>
Thu, 5 Jul 2007 18:26:58 +0000
(18:26 +0000)
committer
Pekka Riikonen
<priikone@silcnet.org>
Thu, 5 Jul 2007 18:26:58 +0000
(18:26 +0000)
lib/silcutil/silcstack.c
patch
|
blob
|
history
diff --git
a/lib/silcutil/silcstack.c
b/lib/silcutil/silcstack.c
index e314d8d09ad43ee779d4f39d3151b56724ec8433..ab5cd62b510a7f4ff32790b85af83fe7f59eabaf 100644
(file)
--- a/
lib/silcutil/silcstack.c
+++ b/
lib/silcutil/silcstack.c
@@
-191,6
+191,8
@@
SilcStack silc_stack_alloc(SilcUInt32 stack_size, SilcStack parent)
stack->parent = parent;
stack->stack_size = stack_size;
stack->alignment = SILC_STACK_DEFAULT_ALIGN;
+ stack->oom_handler = parent->oom_handler;
+ stack->oom_context = parent->oom_context;
silc_list_init(stack->stacks, struct SilcStackDataEntryStruct, next);
/* Allocate stack frames from the parent */