Fix memory leaks
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
#include "io/knot.h"
|
||||
#include "io/sysio.h"
|
||||
#include "pch.h"
|
||||
#include "syntax/trie.h"
|
||||
|
||||
struct Highlight {
|
||||
@@ -40,9 +41,4 @@ struct LineData {
|
||||
std::shared_ptr<void> out_state{nullptr};
|
||||
};
|
||||
|
||||
struct CustomState {
|
||||
mrb_value state;
|
||||
CustomState(mrb_value s) : state(s) {}
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user