Skip to content

Commit

Permalink
TRQ-1528: valgrind errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
elicha committed Sep 17, 2013
1 parent 6086997 commit 480ab5e
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib/Libnet/server_core.c
Expand Up @@ -294,7 +294,7 @@ int start_listener_addrinfo(
void *(*process_meth)(void *))

{
struct addrinfo *adr_svr;
struct addrinfo *adr_svr = NULL;
struct sockaddr adr_client;
struct sockaddr_in *in_addr;
struct sockaddr_in svr_address;
Expand Down
1 change: 1 addition & 0 deletions src/resmom/mom_main.c
Expand Up @@ -4705,6 +4705,7 @@ int rm_request(

errno = 0;
log_buffer[0] = '\0';
output[0] = '\0';

ipadd = svr_conn[chan->sock].cn_addr;
port = svr_conn[chan->sock].cn_port;
Expand Down
2 changes: 1 addition & 1 deletion src/server/req_quejob.c
Expand Up @@ -499,7 +499,7 @@ int req_quejob(
char log_buf[LOCAL_LOG_BUF_SIZE];
time_t time_now = time(NULL);

job *pj;
job *pj = NULL;
attribute_def *pdef;
svrattrl *psatl;
pbs_queue *pque;
Expand Down

0 comments on commit 480ab5e

Please sign in to comment.