diff options
| author | Robert Heinrich | 2012-03-21 13:57:55 +0100 |
|---|---|---|
| committer | Robert Heinrich | 2012-03-21 13:57:55 +0100 |
| commit | cf029e0a2e58ce1ba3f40ae6192cc0418fcca97c (patch) | |
| tree | 1a290c63d66885df2b6309a7b4cea35b8f6d6b7a /plugins/liquids.cpp | |
| parent | 2e62f5fd12a31ea8bb3c68d8b2185f551bf90fe3 (diff) | |
| download | dfhack-cf029e0a2e58ce1ba3f40ae6192cc0418fcca97c.tar.gz dfhack-cf029e0a2e58ce1ba3f40ae6192cc0418fcca97c.tar.bz2 dfhack-cf029e0a2e58ce1ba3f40ae6192cc0418fcca97c.tar.xz | |
fixed memory leak in liquids.cpp
Diffstat (limited to 'plugins/liquids.cpp')
| -rw-r--r-- | plugins/liquids.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/liquids.cpp b/plugins/liquids.cpp index aff45b66..3bf67f4d 100644 --- a/plugins/liquids.cpp +++ b/plugins/liquids.cpp @@ -605,5 +605,9 @@ command_result df_liquids (color_ostream &out_, vector <string> & parameters) out << command << " : unknown command." << endl; } } + + //cleanup + delete brush; + return CR_OK; } |
