aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHeiko Hund <hhund@astaro.com>2010-06-18 05:01:06 +0200
committerAndreas Steffen <andreas.steffen@strongswan.org>2010-06-18 05:01:06 +0200
commit341372d5251dc721ea633e44e18c7a29be1196e9 (patch)
treef795e2f949ab392becfe92a24ef00c74c13c2829
parent4f9b82bc1df4ed8cb9871106a92c8a8b2a408835 (diff)
downloadstrongswan-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.c2
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);
}