فهرست منبع

Another little touch up to avoid problems...

Eric Andersen 21 سال پیش
والد
کامیت
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;
 			}
 		}