policy: remove initialized guard from nm_policy_new()
authorThomas Haller <thaller@redhat.com>
Tue, 29 Mar 2016 08:39:47 +0000 (10:39 +0200)
committerThomas Haller <thaller@redhat.com>
Tue, 29 Mar 2016 10:18:15 +0000 (12:18 +0200)
commit6a7ba9b5e15a970446aff410117072d9e12f2a61
treeb0a485121766f80318c6503d433af1df264b1d95
parentcaebe764a5f8c292890c576d72d3673606cd9044
policy: remove initialized guard from nm_policy_new()

If we want to ensure that we create only one single instance of
NMPolicy, just don't create multiple instances. The nm_policy_new()
method should not be restriced and behave like other *new() functions
and create a new object as requested.
src/nm-policy.c