summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libcamera/ipc_unixsocket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcamera/ipc_unixsocket.cpp b/src/libcamera/ipc_unixsocket.cpp
index def08eef..eb1a5023 100644
--- a/src/libcamera/ipc_unixsocket.cpp
+++ b/src/libcamera/ipc_unixsocket.cpp
@@ -172,7 +172,7 @@ int IPCUnixSocket::send(const Payload &payload)
if (!isBound())
return -ENOTCONN;
- Header hdr;
+ Header hdr = {};
hdr.data = payload.data.size();
hdr.fds = payload.fds.size();