diff options
| author | Lukas Slebodnik <lslebodn@redhat.com> | 2016-02-19 16:18:02 +0100 |
|---|---|---|
| committer | Lukas Slebodnik <lslebodn@redhat.com> | 2016-02-24 13:50:52 +0100 |
| commit | 6977d7c84145ac69195be58b3330861b9b8a3b72 (patch) | |
| tree | 3f0cb67842b188c28ca67d10ad35a08182c9d62c /src/python | |
| parent | 74cc3797e311fd5dc12473678f499041ade7784f (diff) | |
TOOLS: Fix minor memory leak in sss_colondb_writeline
The variable line was initialized to NULL.
The we created temporary context tmp_ctx.
We use talloc_asprintf_append to append string to line which is initially
NULL and therefore new context which was not connected to tmp_ctx.
man 3 talloc_string -> talloc_asprintf_append
Reviewed-by: Petr Cech <pcech@redhat.com>
Diffstat (limited to 'src/python')
0 files changed, 0 insertions, 0 deletions
