diff options
author | William Langford <wlangfor@gmail.com> | 2014-07-23 03:33:04 -0400 |
---|---|---|
committer | Nicolas Williams <nico@cryptonector.com> | 2014-07-27 17:51:48 -0500 |
commit | 14bc1f652600892328ef0de58d09d99b6857f7ac (patch) | |
tree | 5335372d14ed660e03a393be99513be20d1cec6f /linker.c | |
parent | 2e2538ccb85a39bfe6364d2e7a863e04d6ece9c5 (diff) |
Fixing crash when a library's dependency could not be loaded.
Signed-off-by: Nicolas Williams <nico@cryptonector.com>
Diffstat (limited to 'linker.c')
-rw-r--r-- | linker.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -128,8 +128,6 @@ static int process_dependencies(jq_state *jq, jv lib_origin, block *src_block, s nerrors += load_library(jq, lib_path, &dep_def_block, lib_state); if (nerrors == 0) bk = block_bind_library(dep_def_block, bk, OP_IS_CALL_PSEUDO, jv_string_value(as)); - else - block_free(dep_def_block); } jv_free(as); } |