session_policy_local: Do not free policy on load error
authorDaniel Wagner <daniel.wagner@bmw-carit.de>
Tue, 9 Apr 2013 16:13:12 +0000 (18:13 +0200)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Thu, 18 Apr 2013 05:44:04 +0000 (08:44 +0300)
commitf9e7f5c9b73fd81e2b1ccd89833506c8e66156aa
tree0bc205c4f792c836fe36c6bc111e707e7eb347ac
parent024b7ab98be603e7586aa5b36c8a65725b8b2ce4
session_policy_local: Do not free policy on load error

We should not unref the policy on parsing errors becase the policy
lifetime is attached to the lifetime of the file. When the file
is removed we remove it from the hash table.
plugins/session_policy_local.c