Browse code

fix init of hook_lsig_matches.

Initing with null, and creating a bitset that is never assigned is obviously not
what was intended here.

Török Edvin authored on 2010/02/11 00:00:30
Showing 1 changed files
... ...
@@ -2302,7 +2302,7 @@ int cl_scandesc(int desc, const char **virname, unsigned long int *scanned, cons
2302 2302
     if(!ctx.fmap)
2303 2303
 	return CL_EMEM;
2304 2304
     ctx.fmap--;
2305
-    ctx.hook_lsig_matches = NULL; cli_bitset_init();
2305
+    ctx.hook_lsig_matches = cli_bitset_init();
2306 2306
 
2307 2307
     rc = cli_magic_scandesc(desc, &ctx);
2308 2308