summaryrefslogtreecommitdiff
path: root/libdaemon/client
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2013-06-18 21:57:14 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2013-06-18 22:11:31 +0200
commite3d39217794731402cedddb9cbaebf75c08c97ba (patch)
treec2b3f31bbf364ef44f1eff24a8e88b70bf865d5e /libdaemon/client
parent25629688643958e12859af0d53e818b8b111b4a9 (diff)
downloadlvm2-e3d39217794731402cedddb9cbaebf75c08c97ba.tar.gz
lvmetad: use dm_ malloc wrappers
Use matching dm_ functions for internally used buffers.
Diffstat (limited to 'libdaemon/client')
-rw-r--r--libdaemon/client/config-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdaemon/client/config-util.c b/libdaemon/client/config-util.c
index 34d755fae..d40e94c58 100644
--- a/libdaemon/client/config-util.c
+++ b/libdaemon/client/config-util.c
@@ -286,7 +286,7 @@ int buffer_realloc(struct buffer *buf, int needed)
alloc = needed;
buf->allocated += alloc;
- new = realloc(buf->mem, buf->allocated);
+ new = dm_realloc(buf->mem, buf->allocated);
if (new)
buf->mem = new;
else { /* utter failure */