summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2008-10-28 22:36:59 +0000
committerPaul Buetow <paul@buetow.org>2008-10-28 22:36:59 +0000
commitd8bff74a889e0be1781666e8c249a6b991c2ad6b (patch)
tree44f4f4c8a4e8af9100d4928ef902bd01de6588ad /src/core
parent1c2c79c47719ca828ce0eb4365ea0327fe89f2d8 (diff)
symbol_ref_up added.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/reference.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/reference.c b/src/core/reference.c
index 2c97c6a..211ef23 100644
--- a/src/core/reference.c
+++ b/src/core/reference.c
@@ -38,6 +38,7 @@ Reference*
reference_new(Symbol *p_symbol) {
Reference *p_reference = malloc(sizeof(Reference));
+ symbol_ref_up(p_symbol);
p_reference->p_symbol = p_symbol;
return (p_reference);