* Sync with trunk r64401.
[reactos.git] / base / applications / mscutils / servman / dependencies_tv1.c
index c4753c1..1c6918a 100644 (file)
@@ -9,7 +9,6 @@
 
 #include "precomp.h"
 
-
 LPTSTR
 TV1_GetDependants(PSERVICEPROPSHEET pDlgInfo,
                   SC_HANDLE hService)
@@ -164,9 +163,7 @@ TV1_AddDependantsToTree(PSERVICEPROPSHEET pDlgInfo,
                                       0,
                                       FALSE);
 
-                    HeapFree(ProcessHeap,
-                             0,
-                             lpNoDepends);
+                    LocalFree(lpNoDepends);
 
                     /* Disable the window */
                     EnableWindow(pDlgInfo->hDependsTreeView1, FALSE);
@@ -180,7 +177,6 @@ TV1_AddDependantsToTree(PSERVICEPROPSHEET pDlgInfo,
     }
 }
 
-
 BOOL
 TV1_Initialize(PSERVICEPROPSHEET pDlgInfo,
                LPTSTR lpServiceName)