diff options
author | Tom Gundersen <teg@jklm.no> | 2014-03-28 00:46:45 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-03-28 00:50:56 +0100 |
commit | 9f5bbfe354c52cd9e28cca32c35596b73e8d738b (patch) | |
tree | c61082d7949babcb03433a46480fac2a1e6dca9e | |
parent | 8c57830308a612b06b53f5fd31cfb765d8710d68 (diff) |
sd-rtnl: message - fix memory leak
-rw-r--r-- | src/libsystemd/sd-rtnl/rtnl-message.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd/sd-rtnl/rtnl-message.c b/src/libsystemd/sd-rtnl/rtnl-message.c index 690466e2f0..b4421af000 100644 --- a/src/libsystemd/sd-rtnl/rtnl-message.c +++ b/src/libsystemd/sd-rtnl/rtnl-message.c @@ -279,7 +279,7 @@ sd_rtnl_message *sd_rtnl_message_unref(sd_rtnl_message *m) { free(m->hdr); - for (i = 0; i < m->n_containers; i++) + for (i = 0; i <= m->n_containers; i++) free(m->rta_offset_tb[i]); free(m); |