Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cellframe-sdk
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Merge requests
18
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cellframe
cellframe-sdk
Commits
8caed686
Commit
8caed686
authored
1 year ago
by
Roman Khlopkov
🔜
Browse files
Options
Downloads
Patches
Plain Diff
[*] Memory error fix
parent
bedcc369
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dap-sdk
+1
-1
1 addition, 1 deletion
dap-sdk
modules/net/dap_chain_ledger.c
+1
-3
1 addition, 3 deletions
modules/net/dap_chain_ledger.c
with
2 additions
and
4 deletions
dap-sdk
@
40f0762e
Compare
90f390fa
...
40f0762e
Subproject commit
9
0f
390fa4c304be9c5cb9675216642f22b97f5d0
Subproject commit
4
0f
0762e0de57244851ef19436bda14c56664628
This diff is collapsed.
Click to expand it.
modules/net/dap_chain_ledger.c
+
1
−
3
View file @
8caed686
...
@@ -1219,9 +1219,8 @@ int dap_ledger_token_add(dap_ledger_t *a_ledger, dap_chain_datum_token_t *a_toke
...
@@ -1219,9 +1219,8 @@ int dap_ledger_token_add(dap_ledger_t *a_ledger, dap_chain_datum_token_t *a_toke
int
l_res_token_tsd_parse
=
0
;
int
l_res_token_tsd_parse
=
0
;
char
*
l_balance_dbg
=
NULL
;
char
*
l_balance_dbg
=
NULL
;
if
(
s_debug_more
)
{
if
(
s_debug_more
)
dap_uint256_to_char
(
l_token
->
total_supply
,
&
l_balance_dbg
);
dap_uint256_to_char
(
l_token
->
total_supply
,
&
l_balance_dbg
);
}
#define CLEAN_UP DAP_DEL_MULTY(l_token, l_token_item->auth_pkeys, l_token_item->auth_pkeys_hash, l_token_item)
#define CLEAN_UP DAP_DEL_MULTY(l_token, l_token_item->auth_pkeys, l_token_item->auth_pkeys_hash, l_token_item)
...
@@ -1299,7 +1298,6 @@ int dap_ledger_token_add(dap_ledger_t *a_ledger, dap_chain_datum_token_t *a_toke
...
@@ -1299,7 +1298,6 @@ int dap_ledger_token_add(dap_ledger_t *a_ledger, dap_chain_datum_token_t *a_toke
return
-
1
;
return
-
1
;
}
}
#undef CLEAN_UP
#undef CLEAN_UP
DAP_DELETE
(
l_balance_dbg
);
s_threshold_emissions_proc
(
a_ledger
);
/* TODO process thresholds only for no-consensus chains */
s_threshold_emissions_proc
(
a_ledger
);
/* TODO process thresholds only for no-consensus chains */
s_ledger_token_cache_update
(
a_ledger
,
l_token_item
);
s_ledger_token_cache_update
(
a_ledger
,
l_token_item
);
return
0
;
return
0
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment