forked from pool/ipmitool
12 lines
296 B
Diff
12 lines
296 B
Diff
|
--- ipmitool-1.8.11/src/plugins/lan/lan.c 2010/03/04 00:55:42 1.1
|
||
|
+++ ipmitool-1.8.11/src/plugins/lan/lan.c 2010/03/04 00:56:39
|
||
|
@@ -1071,7 +1071,7 @@
|
||
|
msg = malloc(len);
|
||
|
if (msg == NULL) {
|
||
|
lprintf(LOG_ERR, "ipmitool: malloc failure");
|
||
|
- return;
|
||
|
+ return msg;
|
||
|
}
|
||
|
memset(msg, 0, len);
|
||
|
|