mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 09:38:19 +00:00
DebugCmds: fix memory leak
This commit is contained in:
parent
bb1390caaa
commit
37e7e914dc
1 changed files with 1 additions and 0 deletions
|
@ -570,6 +570,7 @@ int dbg_cmd_print(DebugCmd cmd, const vector<string>& args)
|
||||||
{
|
{
|
||||||
ODesc d;
|
ODesc d;
|
||||||
val->Describe(&d);
|
val->Describe(&d);
|
||||||
|
Unref(val);
|
||||||
debug_msg("%s\n", d.Description());
|
debug_msg("%s\n", d.Description());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue