Guest User

Untitled

a guest
Oct 21st, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.50 KB | None | 0 0
  1. Index: libs/csutil/plugmgr.cpp
  2. ===================================================================
  3. --- libs/csutil/plugmgr.cpp (revision 36320)
  4. +++ libs/csutil/plugmgr.cpp (working copy)
  5. @@ -245,6 +245,7 @@
  6.          // The plugin should have been loaded now.
  7.     CS::Threading::RecursiveMutexScopedLock lock (mutex);
  8.     csPlugin* pl = FindPluginByClassID (classID);
  9. +        if(!pl){return csPtr<iComponent> (0);}
  10.     csRef<iComponent> comp (pl->Plugin);
  11.          return csPtr<iComponent> (comp);
  12.        }
Add Comment
Please, Sign In to add comment