X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=discover%2Fdt.c;h=e7214e04a499166539e5c7f20e959bf9bfd59164;hp=a7383e145a626c3b15af76ac083d7059d43aa4fc;hb=45e64e9fbeae206997d347b479e697da2ee53ac5;hpb=8cfcec4279b229dacfb0589bc443f8a4cbd83082 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; }