File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Original file line number Diff line number Diff line change @@ -951,6 +951,16 @@ EnumerateHub (
951
951
FREE (ConnectionInfo );
952
952
}
953
953
954
+ if (ConnectionInfoV2 )
955
+ {
956
+ FREE (ConnectionInfoV2 );
957
+ }
958
+
959
+ if (PortConnectorProps )
960
+ {
961
+ FREE (PortConnectorProps );
962
+ }
963
+
954
964
if (ConfigDesc )
955
965
{
956
966
FREE (ConfigDesc );
@@ -973,6 +983,16 @@ EnumerateHub (
973
983
974
984
} while (StringDescs != NULL );
975
985
}
986
+
987
+ if (DevProps )
988
+ {
989
+ FreeDeviceProperties (& DevProps );
990
+ }
991
+
992
+ if (hubCapabilityEx )
993
+ {
994
+ FREE (hubCapabilityEx );
995
+ }
976
996
}
977
997
978
998
//*****************************************************************************
@@ -1367,6 +1387,24 @@ EnumerateHubPorts (
1367
1387
{
1368
1388
FREE (connectionInfoExV2 );
1369
1389
}
1390
+
1391
+ if (stringDescs != NULL )
1392
+ {
1393
+ PSTRING_DESCRIPTOR_NODE Next ;
1394
+
1395
+ do {
1396
+
1397
+ Next = stringDescs -> Next ;
1398
+ FREE (stringDescs );
1399
+ stringDescs = Next ;
1400
+
1401
+ } while (stringDescs != NULL );
1402
+ }
1403
+
1404
+ if (DevProps )
1405
+ {
1406
+ FreeDeviceProperties (& DevProps );
1407
+ }
1370
1408
break ;
1371
1409
}
1372
1410
You can’t perform that action at this time.
0 commit comments