File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -583,6 +583,7 @@ LRESULT co_UserFreeWindow(PWND Window,
583583 PWND Child ;
584584 PMENU Menu ;
585585 BOOLEAN BelongsToThreadData ;
586+ USER_REFERENCE_ENTRY Ref ;
586587
587588 ASSERT (Window );
588589
@@ -740,7 +741,7 @@ LRESULT co_UserFreeWindow(PWND Window,
740741 WndSetChild (Window , NULL );
741742 WndSetLastActive (Window , NULL );
742743
743- UserReferenceObject (Window );
744+ UserRefObjectCo (Window , & Ref );
744745 UserMarkObjectDestroy (Window );
745746
746747 IntDestroyScrollBars (Window );
@@ -769,7 +770,7 @@ LRESULT co_UserFreeWindow(PWND Window,
769770// ASSERT(Window != NULL);
770771 UserFreeWindowInfo (Window -> head .pti , Window );
771772
772- UserDereferenceObject (Window );
773+ UserDerefObjectCo (Window );
773774 UserDeleteObject (UserHMGetHandle (Window ), TYPE_WINDOW );
774775
775776 return 0 ;
You can’t perform that action at this time.
0 commit comments