[SRP] bug fix: free memory in debug version
[mirror/winof/.git] / 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