forked from pool/ipmitool
576167f497
Copy from systemsmanagement:wbem/ipmitool based on submit request 34171 from user coolo OBS-URL: https://build.opensuse.org/request/show/34171 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ipmitool?expand=0&rev=10
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);
|
|
|