[SRP] bug fix: free memory in debug version
authorsleybo <sleybo@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 26 Feb 2007 14:14:33 +0000 (14:14 +0000)
committersleybo <sleybo@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Mon, 26 Feb 2007 14:14:33 +0000 (14:14 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@600 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

ulp/srp/kernel/srp_data_path.c

index 44c5901..0b8fe70 100644 (file)
@@ -652,7 +652,10 @@ __srp_build_cmd(
                        }\r
                        cmd[i] = '\0';\r
                        SRP_PRINT( TRACE_LEVEL_VERBOSE, SRP_DBG_DATA, ("CDB = 0x%s\n",cmd) );\r
+\r
+                       cl_free(cmd);\r
                }\r
+               \r
        }\r
 #endif\r
        \r