summaryrefslogtreecommitdiff
path: root/src/lib/sockets.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/sockets.c')
-rw-r--r--src/lib/sockets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/sockets.c b/src/lib/sockets.c
index 9f1b326e..42676d11 100644
--- a/src/lib/sockets.c
+++ b/src/lib/sockets.c
@@ -98,7 +98,7 @@ irm_msg_t * send_recv_irm_msg(irm_msg_t * msg)
int sockfd;
uint8_t buf[IRM_MSG_BUF_SIZE];
ssize_t len;
- irm_msg_t * recv_msg;
+ irm_msg_t * recv_msg = NULL;
sockfd = client_socket_open(IRM_SOCK_PATH);
if (sockfd < 0)