Permalink
Browse files

Fix the null pmc's creation process

  • Loading branch information...
1 parent 2e6df8a commit f99a3e48d8c4d62bab344e21e547f39a1f8e0d4f @atrodo committed Mar 4, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 interp.c
View
@@ -30,6 +30,9 @@ lorito_init()
result->ctx = lorito_ctx_new(result, null_pmc, null_pmc);
result->default_lookup = (Lorito_PMC *) lorito_c_method_new(result, lorito_pmc_default_lookup);
+ // Re-initalize the null pmc
+ lorito_pmc_init(result, null_pmc);
+
return result;
}

0 comments on commit f99a3e4

Please sign in to comment.