Diff between 8d61942f273e8579591b9b72fe6fe1bb3bedb672 and ca769001a80d713050e071ca08c16fc4bde7643d
Changed Files
| File | Additions | Deletions | Status |
| src/main.c | +1 | -0 | modified |
| src/shared/shell.c | +1 | -0 | modified |
Full Patch
diff --git a/src/main.c b/src/main.c
index c32bda7..94141b1 100644
--- a/src/main.c
+++ b/src/main.c
@@ -795,6 +795,7 @@ static void parse_config(GKeyFile *config)
parse_br_config(config);
parse_le_config(config);
+ g_free(str);
}
static void init_defaults(void)
diff --git a/src/shared/shell.c b/src/shared/shell.c
index 07eaa17..21e8b50 100644
--- a/src/shared/shell.c
+++ b/src/shared/shell.c
@@ -621,6 +621,7 @@ void bt_shell_prompt_input(const char *label, const char *msg,
prompt->user_data = user_data;
queue_push_tail(data.prompts, prompt);
+ free(str);
return;
}