Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-06-04 04:30:31 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-06-04 04:30:31 +0300
commit935c9ab0de1ce3d36f93ce5aeee5d0f82d6f2591 (patch)
treea735f6c42044b6d7df3ce538468f6fcaff5e343a /intern/ghost/intern/GHOST_Context.cpp
parent0dbd05ffdd52c62c055fa68ab42061831a71b1ee (diff)
Cleanup: Cleanup: style, use braces for GHOST (X11/SDL)
Diffstat (limited to 'intern/ghost/intern/GHOST_Context.cpp')
-rw-r--r--intern/ghost/intern/GHOST_Context.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/intern/ghost/intern/GHOST_Context.cpp b/intern/ghost/intern/GHOST_Context.cpp
index 0d167209909..2d53c5df08e 100644
--- a/intern/ghost/intern/GHOST_Context.cpp
+++ b/intern/ghost/intern/GHOST_Context.cpp
@@ -129,8 +129,9 @@ bool win32_chk(bool result, const char *file, int line, const char *text)
SetLastError(NO_ERROR);
- if (count != 0)
+ if (count != 0) {
LocalFree(formattedMsg);
+ }
}
return result;