diff options
author | Chengguang Xu <[email protected]> | 2018-02-06 08:25:55 +0800 |
---|---|---|
committer | Ilya Dryomov <[email protected]> | 2018-02-26 16:19:30 +0100 |
commit | 937441f3a3158d5510ca8cc78a82453f57a96365 (patch) | |
tree | 50f5222a92bd9b764d95e9dc2bd78e63d83d98a3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 6ef0bc6ddee1f62310877a1d53b1ea1d0d8e51a2 (diff) |
libceph, ceph: avoid memory leak when specifying same option several times
When parsing string option, in order to avoid memory leak we need to
carefully free it first in case of specifying same option several times.
Signed-off-by: Chengguang Xu <[email protected]>
Reviewed-by: Ilya Dryomov <[email protected]>
Signed-off-by: Ilya Dryomov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions