Clang:Null pointer passed as an argument to a 'nonnull' parameter

Change-Id: Ia07c50f4822af256b3b35f39f46dc442750c8439
This commit is contained in:
Julien Nabet 2012-08-05 13:49:37 +02:00
parent bf68634a4e
commit 4de603d28c

View file

@ -235,7 +235,7 @@ Status XvaCloseIM(XIM)
{
Status s = False;
if (!g_dlmodule)
if (g_dlmodule)
{
/* assuming one XvaOpenIM call */
dlclose(g_dlmodule);