Skip to content

Commit

Permalink
Merge pull request #2 from argus-authz/issue-1
Browse files Browse the repository at this point in the history
do not allocate the option_endpoint_urls list
  • Loading branch information
msalle authored Jan 28, 2020
2 parents fa78c8c + 0241055 commit 8df92c6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
argus-pep-api-c 2.3.1
---------------------
* bug fix: do not allocate the option_endpoint_urls list

argus-pep-api-c 2.3.0
---------------------
* xacml_result_removeobligation(...) function added.
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

##
# VERSION number
AC_INIT([argus-pep-api-c], [2.3.0], [[email protected]])
AC_INIT([argus-pep-api-c], [2.3.1], [[email protected]])
##

AC_CONFIG_AUX_DIR([project])
Expand Down
10 changes: 1 addition & 9 deletions src/argus/pep.c
Original file line number Diff line number Diff line change
Expand Up @@ -163,15 +163,7 @@ PEP * pep_initialize(void) {
return NULL;
}

pep->option_endpoint_urls= pep_llist_create();
if (pep->option_endpoint_urls == NULL) {
pep_log_error("pep_initialize: endpoint URLs list allocation failed.");
curl_easy_cleanup(pep->curl);
pep_llist_delete(pep->pips);
pep_llist_delete(pep->ohs);
free(pep);
return NULL;
}
pep->option_endpoint_urls= NULL; // not used

return pep;
}
Expand Down

0 comments on commit 8df92c6

Please sign in to comment.