aboutsummaryrefslogtreecommitdiff
path: root/07.DEBUGGER.md
diff options
context:
space:
mode:
authorZsolt Borbély <zsborbely.u-szeged@partner.samsung.com>2021-11-02 19:13:12 +0100
committerGitHub <noreply@github.com>2021-11-02 19:13:12 +0100
commitd0671c4ff1bdf41a109823c427f2ea9385765123 (patch)
treeef64bd8cf43e02fa765930f67c8a9e0eb17f7512 /07.DEBUGGER.md
parentacdecfc62a72304c992c29d77eff91a8ff16afdf (diff)
Update the webpage (#4813)
JerryScript-DCO-1.0-Signed-off-by: Zsolt Borbély zsborbely.u-szeged@partner.samsung.com
Diffstat (limited to '07.DEBUGGER.md')
-rw-r--r--07.DEBUGGER.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/07.DEBUGGER.md b/07.DEBUGGER.md
index f43d329c..09b6bd70 100644
--- a/07.DEBUGGER.md
+++ b/07.DEBUGGER.md
@@ -326,12 +326,12 @@ wait_for_source_callback (const jerry_char_t *resource_name_p, /**< resource nam
jerry_parse_options_t parse_options;
parse_options.options = JERRY_PARSE_HAS_RESOURCE;
- parse_options.resource_name_p = resource_name_p;
- parse_options.resource_name_length = resource_name_size;
+ parse_options.resource_name = jerry_create_string ((const jerry_char_t *) resource_name_p);
jerry_value_t ret_val = jerry_parse (source_p,
source_size,
&parse_options);
+ jerry_release_value (parse_options.resource_name);
if (!jerry_value_is_error (ret_val))
{