Add type-checked versions of allocation and deallocations functions
[lttng-tools.git] / src / common / ini-config / ini-config.cpp
index 98308c9f348ee2946b86da36654c6897194779db..0b9502fc48c77db3a200bfb8a7f4f0e3b7217929 100644 (file)
@@ -144,7 +144,7 @@ int config_parse_value(const char *value)
                goto end;
        }
 
-       lower_str = (char *) zmalloc(len + 1);
+       lower_str = zmalloc<char>(len + 1);
        if (!lower_str) {
                PERROR("zmalloc");
                ret = -errno;
This page took 0.022741 seconds and 4 git commands to generate.