aboutsummaryrefslogtreecommitdiff
path: root/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/StaticAnalyzer/Checkers/MallocChecker.cpp')
-rw-r--r--lib/StaticAnalyzer/Checkers/MallocChecker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/StaticAnalyzer/Checkers/MallocChecker.cpp b/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
index 274eb80e90..b4e45a29d6 100644
--- a/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
+++ b/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
@@ -58,7 +58,7 @@ class RefState {
// family.
RefState(Kind k, const Stmt *s, unsigned family)
- : K(k), S(s), Family(family) {}
+ : S(s), K(k), Family(family) {}
public:
bool isAllocated() const { return K == Allocated; }
bool isReleased() const { return K == Released; }