This website works better with JavaScript.
Home
Help
Sign In
VCVRack
/
Rack
mirror of
https://github.com/VCVRack/Rack.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
43
Wiki
Activity
Browse Source
Don't delete NULL in ParamInfo::~ParamInfo
tags/v1.0.0
Andrew Belt
6 years ago
parent
cb7e139b47
commit
e9e112c6b3
1 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
include/engine/ParamInfo.hpp
+ 2
- 1
include/engine/ParamInfo.hpp
View File
@@ -25,7 +25,8 @@ struct ParamInfo {
ParamQuantityFactory *paramQuantityFactory = NULL;
~ParamInfo() {
delete paramQuantityFactory;
if (paramQuantityFactory)
delete paramQuantityFactory;
}
template<class TParamQuantity = ParamQuantity>
Write
Preview
Loading…
Cancel
Save