projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[UMPNPMGR]
[reactos.git]
/
reactos
/
base
/
services
/
umpnpmgr
/
umpnpmgr.c
diff --git
a/reactos/base/services/umpnpmgr/umpnpmgr.c
b/reactos/base/services/umpnpmgr/umpnpmgr.c
index
03fd855
..
e1e7e5c
100644
(file)
--- a/
reactos/base/services/umpnpmgr/umpnpmgr.c
+++ b/
reactos/base/services/umpnpmgr/umpnpmgr.c
@@
-993,7
+993,9
@@
PNP_GetDeviceRegProp(
}
done:
- *pulTransferLen = (ret == CR_SUCCESS) ? *pulLength : 0;
+
+ if(pulTransferLen)
+ *pulTransferLen = (ret == CR_SUCCESS) ? *pulLength : 0;
if (hKey != NULL)
RegCloseKey(hKey);