Skip to content

Commit

Permalink
Couple of small changes to make coverity happier
Browse files Browse the repository at this point in the history
  • Loading branch information
PJMODOS authored and petere committed May 19, 2020
1 parent 19d6f4f commit 6ff5322
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pglogical_create_subscriber.c
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@ main(int argc, char **argv)
break;
case 8:
apply_delay = atoi(optarg);
break;
case 9:
databases = pg_strdup(optarg);
break;
Expand Down Expand Up @@ -1216,8 +1217,7 @@ get_connstr_dbname(char *connstr)
}
}

if (conn_opts)
PQconninfoFree(conn_opts);
PQconninfoFree(conn_opts);

return ret;
}
Expand Down

0 comments on commit 6ff5322

Please sign in to comment.