Skip to content

Commit

Permalink
rls: release memory in case of error
Browse files Browse the repository at this point in the history
Fixes Coverity CID #199983
  • Loading branch information
razvancrainea committed Jul 11, 2020
1 parent 4a357a5 commit d90bd30
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/rls/resource_notify.c
Expand Up @@ -780,6 +780,8 @@ void timer_send_notify(unsigned int ticks,void *param)
pkg_free(buf);
if(dialog)
pkg_free(dialog);
if (rlmi_doc)
xmlFreeDoc(rlmi_doc);
}


Expand Down

0 comments on commit d90bd30

Please sign in to comment.