From 539e9fc3838a1dcb37c54113a4efd005fcd1bd77 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Tue, 1 Jun 2010 16:37:20 -0700 Subject: [PATCH] Call orc_init() from orc_program_new() --- orc/orcprogram.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/orc/orcprogram.c b/orc/orcprogram.c index 677418d..4ac62a5 100644 --- a/orc/orcprogram.c +++ b/orc/orcprogram.c @@ -29,6 +29,8 @@ orc_program_new (void) { OrcProgram *p; + orc_init (); + p = malloc(sizeof(OrcProgram)); memset (p, 0, sizeof(OrcProgram)); -- 2.7.4