projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add type-checked versions of allocation and deallocations functions
[lttng-tools.git]
/
src
/
common
/
ini-config
/
ini.cpp
diff --git
a/src/common/ini-config/ini.cpp
b/src/common/ini-config/ini.cpp
index d8ec8cf3e375545b36416867704e45fa2b16f2cc..ec5a41119e87c17f66b47d3656909ed670c11ea4 100644
(file)
--- a/
src/common/ini-config/ini.cpp
+++ b/
src/common/ini-config/ini.cpp
@@
-109,7
+109,7
@@
int ini_parse_file(FILE* file, ini_entry_handler handler, void* user)
int error = 0;
#if !INI_USE_STACK
int error = 0;
#if !INI_USE_STACK
- line =
(char*)zmalloc
(INI_MAX_LINE);
+ line =
zmalloc<char>
(INI_MAX_LINE);
if (!line) {
return -2;
}
if (!line) {
return -2;
}
This page took
0.023507 seconds
and
4
git commands to generate.