[ofw] vstat_main.c patches to free MADs?

Smith, Stan stan.smith at intel.com
Thu Dec 16 09:59:02 PST 2010


Hi,
  Did you intend to commit your patches?
If there is a problem with your access to SVN, I can do the commit for you?

stan.

--- A/tools/vstat/user/vstat_main.c     Thu Dec 16 09:57:10 2010
+++ B/tools/vstat/user/vstat_main.c     Thu Dec 16 09:16:25 2010
@@ -548,7 +548,8 @@

        cl_memcpy(vstat_port_info,(ib_port_info_t*)(((ib_smp_t*)mad_out)->data),sizeof(ib_port_info_t));

-
+       cl_free(mad_out);
+       cl_free(mad_in);
 }





More information about the ofw mailing list