.editorconfig
author Yuya Nishihara <yuya@tcha.org>
Wed, 05 Sep 2018 21:49:44 +0900
branchstable
changeset 38787 094d1f42c484
parent 38293 1d6066336d7b
child 45411 c25efc468a49
permissions -rw-r--r--
manifest: fix leak on error return from lazymanifest_filtercopy() Spotted by ASAN. free(copy->lines) and Py_DECREF(copy->pydata) are replaced by Py_XDECREF(copy), which should call lazymanifest_dealloc(). Freeing half-initialized copy->lines is safe since copy->numlines holds a valid value.

# See http://EditorConfig.org for the specification

root = true

[*.py]
indent_size = 4
indent_style = space
trim_trailing_whitespace = true

[*.{c,h}]
indent_size = 8
indent_style = tab
trim_trailing_whitespace = true

[*.t]
indent_size = 2
indent_style = space
trim_trailing_whitespace = false