Skip to content

Commit

Permalink
Merge pull request #2011 from signalwire/coverity_24032023_mod_pgsql
Browse files Browse the repository at this point in the history
[mod_pgsql] Coverity CID 1468401 (Resource leak)
  • Loading branch information
andywolk authored Mar 30, 2023
2 parents f5f7f76 + 65b24c6 commit c540af1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mod/databases/mod_pgsql/mod_pgsql.c
Original file line number Diff line number Diff line change
Expand Up @@ -629,6 +629,8 @@ switch_status_t database_handle_exec_string(switch_database_interface_handle_t *

error:

pgsql_free_result(&result);

return SWITCH_STATUS_FALSE;
}

Expand Down

0 comments on commit c540af1

Please sign in to comment.