[EMAIL PROTECTED] wrote: > > If I do the following: > > ipmi_mc_t *mc; > > mc = ipmi_sensor_get_mc(sensor); > > Do I need to deallocate the mc when I’m done? > No, for that call the MC is guaranteed to be around as long as the sensor hangs around. Normal rules, you can't hold the pointer once you return from the function call that provides the sensor.
-corey ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Openipmi-developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openipmi-developer
