Fix missing return
authorLucas De Marchi <lucas.demarchi@profusion.mobi>
Fri, 2 Dec 2011 12:03:34 +0000 (10:03 -0200)
committerLucas De Marchi <lucas.demarchi@profusion.mobi>
Fri, 2 Dec 2011 12:03:34 +0000 (10:03 -0200)
libkmod/libkmod-module.c

index 7438b18..552d9ea 100644 (file)
@@ -247,6 +247,7 @@ finish:
 fail:
        kmod_module_unref_list(*list);
        *list = NULL;
+       return err;
 }
 #undef CHECK_ERR_AND_FINISH