Fix some warnings and other errors

git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2755 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Dan Williams
2007-08-30 21:54:56 +00:00
parent 05add38724
commit a6346fac4a
5 changed files with 9 additions and 7 deletions

View File

@@ -417,7 +417,8 @@ done:
nm_vpn_manager_dispose (vpn_manager);
nm_hal_manager_destroy (hal_manager);
nm_policy_destroy (policy);
if (policy)
nm_policy_destroy (policy);
if (manager)
g_object_unref (manager);