소스 검색

Another little touch up to avoid problems...

Eric Andersen 22 년 전
부모
커밋
bc237c2584
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      utils/ldd.c

+ 2 - 0
utils/ldd.c

@@ -461,6 +461,8 @@ static struct library * find_elf_interpreter(Elf32_Ehdr* ehdr)
 				newlib = cur;
 				free(newlib->name);
 				free(newlib->path);
+				newlib->name = NULL;
+				newlib->path = NULL;
 				return NULL;
 			}
 		}