SHA256
1
0
forked from pool/ipmitool
ipmitool/sdradd_close_file_handle.patch

12 lines
446 B
Diff

diff -wruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs -x Makefile -x Makefile.in ../orig-ipmitool-1.8.12/lib/ipmi_sdradd.c ./lib/ipmi_sdradd.c
--- ../orig-ipmitool-1.8.12/lib/ipmi_sdradd.c 2010-04-23 22:00:41.000000000 +0200
+++ ./lib/ipmi_sdradd.c 2013-02-28 13:44:59.044084023 +0100
@@ -628,6 +629,7 @@
queue->tail->next = sdrr;
queue->tail = sdrr;
}
+ close(fd);
return rc;
}