diff options
| author | Nalin Dahyabhai <nalin@dahyabhai.net> | 2013-08-27 14:04:36 -0400 |
|---|---|---|
| committer | Nalin Dahyabhai <nalin@dahyabhai.net> | 2013-08-27 14:04:36 -0400 |
| commit | 26320c9fb054d9fc0a08a1e4271a19b394c17f0c (patch) | |
| tree | dc9a008163501733a6dbf74d2128b6c5e1650e92 /src | |
| parent | 9f2c663ef6a9ca915134b479d986c8554301e236 (diff) | |
Make sure that length is always initialized
Diffstat (limited to 'src')
| -rw-r--r-- | src/format.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/format.c b/src/format.c index 8f42223..150fa42 100644 --- a/src/format.c +++ b/src/format.c @@ -4387,6 +4387,7 @@ format_format(struct plugin_state *state, } format_free_choicesp(choices); ret = NULL; + *data_length = 0; } free(buf); } while (i == -ENOBUFS); |
