mirror of
				https://github.com/stedolan/jq.git
				synced 2024-05-11 05:55:39 +00:00 
			
		
		
		
	Fixing crash when a library's dependency could not be loaded.
Signed-off-by: Nicolas Williams <nico@cryptonector.com>
This commit is contained in:
		
				
					committed by
					
						 Nicolas Williams
						Nicolas Williams
					
				
			
			
				
	
			
			
			
						parent
						
							2e2538ccb8
						
					
				
				
					commit
					14bc1f6526
				
			
							
								
								
									
										2
									
								
								linker.c
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								linker.c
									
									
									
									
									
								
							| @@ -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); | ||||
|   } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user