diff options
author | Kay Sievers <kay@vrfy.org> | 2013-06-04 23:37:57 +0200 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2013-06-04 23:37:57 +0200 |
commit | bf30e48fe5c6a042f157804631d7d3817c8119fc (patch) | |
tree | 0a7c75b9da7a3208595f5b50ba3790d8821b7288 /src/libsystemd-bus/bus-kernel.c | |
parent | 311754514cd24210f9c72e0af5173d7895690e5f (diff) |
bus: unmap memfd retrieved from the memfd cache
Diffstat (limited to 'src/libsystemd-bus/bus-kernel.c')
-rw-r--r-- | src/libsystemd-bus/bus-kernel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-bus/bus-kernel.c b/src/libsystemd-bus/bus-kernel.c index ad0d573149..ffa843d5d1 100644 --- a/src/libsystemd-bus/bus-kernel.c +++ b/src/libsystemd-bus/bus-kernel.c @@ -729,7 +729,7 @@ int bus_kernel_pop_memfd(sd_bus *bus, void **address, size_t *size) { return fd; } - c = &bus->memfd_cache[-- bus->n_memfd_cache]; + c = &bus->memfd_cache[--bus->n_memfd_cache]; assert(c->fd >= 0); assert(c->size == 0 || c->address); |