ENGINE-179 cleaned'up re_evaluate_message_rating, fixed possible memory leak ENGINE-179
authorEdouard Tisserant <edouard@pep-project.org>
Tue, 06 Jun 2017 15:30:57 +0200
branchENGINE-179
changeset 18225a77127f3f7e
parent 1821 dc8d47e6a02c
child 1826 720922a950e9
child 1827 277a39ed449b
ENGINE-179 cleaned'up re_evaluate_message_rating, fixed possible memory leak
src/message_api.c
     1.1 --- a/src/message_api.c	Tue Jun 06 12:41:38 2017 +0200
     1.2 +++ b/src/message_api.c	Tue Jun 06 15:30:57 2017 +0200
     1.3 @@ -2767,11 +2767,6 @@
     1.4      if (status == PEP_STATUS_OK)
     1.5          *rating = _rating;
     1.6      
     1.7 -    return ERROR(status);
     1.8 -
     1.9 -enomem:
    1.10 -    status = PEP_OUT_OF_MEMORY;
    1.11 -
    1.12  pep_error:
    1.13      if (must_free_keylist)
    1.14          free_stringlist(_keylist);