From: Heiko Hund Date: Fri, 18 Jun 2010 03:01:06 +0000 (+0200) Subject: Don't fail with an error if an attribute that is to be deleted does not exist X-Git-Tag: 4.4.1~153 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=341372d5251dc721ea633e44e18c7a29be1196e9;p=thirdparty%2Fstrongswan.git Don't fail with an error if an attribute that is to be deleted does not exist --- diff --git a/src/libhydra/plugins/attr_sql/pool_attributes.c b/src/libhydra/plugins/attr_sql/pool_attributes.c index d59ca67d0b..0ef1b4a268 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); }