Permalink
Browse files

Properly handle when objects cannot be folded

Fix #579.
  • Loading branch information...
wtlangford committed Sep 23, 2014
1 parent 456bafa commit f7a2af70526ab632008bb646d2b0e82f5c1724c9
Showing with 2 additions and 0 deletions.
  1. +2 −0 compile.c
@@ -557,6 +557,8 @@ block gen_const_object(block expr) {
break;
}
o = jv_object_set(o, k, v);
k = jv_null();
v = jv_null();
}
if (!is_const) {
jv_free(o);

0 comments on commit f7a2af7

Please sign in to comment.