diff options
author | Heiko Hund <hhund@astaro.com> | 2010-06-18 05:01:06 +0200 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2010-06-18 05:01:06 +0200 |
commit | 341372d5251dc721ea633e44e18c7a29be1196e9 (patch) | |
tree | f795e2f949ab392becfe92a24ef00c74c13c2829 | |
parent | 4f9b82bc1df4ed8cb9871106a92c8a8b2a408835 (diff) | |
download | strongswan-341372d5251dc721ea633e44e18c7a29be1196e9.tar.bz2 strongswan-341372d5251dc721ea633e44e18c7a29be1196e9.tar.xz |
Don't fail with an error if an attribute that is to be deleted does not exist
-rw-r--r-- | src/libhydra/plugins/attr_sql/pool_attributes.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libhydra/plugins/attr_sql/pool_attributes.c b/src/libhydra/plugins/attr_sql/pool_attributes.c index d59ca67d0..0ef1b4a26 100644 --- a/src/libhydra/plugins/attr_sql/pool_attributes.c +++ b/src/libhydra/plugins/attr_sql/pool_attributes.c @@ -441,8 +441,6 @@ void del_attr(char *name, char *value, value_type_t value_type) blob.len, blob.ptr); } } - free(blob.ptr); - exit(EXIT_FAILURE); } free(blob.ptr); } |