X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=discover%2Fdt.c;h=e7214e04a499166539e5c7f20e959bf9bfd59164;hp=a7383e145a626c3b15af76ac083d7059d43aa4fc;hb=1c3cb3b066bae9a981732d6ab868cee6df2136b4;hpb=6600e73fe891d5006c34f694e97e37eefceb921d diff --git a/discover/dt.c b/discover/dt.c index a7383e1..e7214e0 100644 --- a/discover/dt.c +++ b/discover/dt.c @@ -56,6 +56,7 @@ int get_ipmi_sensor(void *t, enum ipmi_sensor_ids sensor_id) rc = __be32_to_cpu(*(uint32_t *)buf); out: + talloc_free(buf); free(namelist); return rc; }