From 683e25de59b6b7307a9654b17a4c784e8897d33a Mon Sep 17 00:00:00 2001
From: Jan Willamowius <jan@willamowius.de>
Date: 周日, 21 4月 2019 23:58:07 +0800
Subject: [PATCH] fix memory leaks on error

---
 src/library/os/os.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/library/os/os.h b/src/library/os/os.h
index 13c52f9..bd19f9d 100644
--- a/src/library/os/os.h
+++ b/src/library/os/os.h
@@ -31,7 +31,7 @@
 typedef struct {
 	int id;
 	char description[1024];
-	unsigned char mac_address[6];
+	unsigned char mac_address[8];
 	unsigned char ipv4_address[4];
 	IFACE_TYPE type;
 } OsAdapterInfo;

--
Gitblit v1.9.1