Add type-checked versions of allocation and deallocations functions
[lttng-tools.git] / src / common / ini-config / ini.cpp
index d8ec8cf3e375545b36416867704e45fa2b16f2cc..ec5a41119e87c17f66b47d3656909ed670c11ea4 100644 (file)
@@ -109,7 +109,7 @@ int ini_parse_file(FILE* file, ini_entry_handler handler, void* user)
        int error = 0;
 
 #if !INI_USE_STACK
-       line = (char*)zmalloc(INI_MAX_LINE);
+       line = zmalloc<char>(INI_MAX_LINE);
        if (!line) {
                return -2;
        }
This page took 0.03128 seconds and 4 git commands to generate.