Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
card10
firmware
Merge requests
!453
fix(display): Do not free user memory in blit
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
fix(display): Do not free user memory in blit
schneider/fix-blit-free
into
master
Overview
1
Commits
1
Pipelines
1
Changes
1
Merged
schneider
requested to merge
schneider/fix-blit-free
into
master
4 years ago
Overview
1
Commits
1
Pipelines
1
Changes
1
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
c1263ff9
1 commit,
4 years ago
1 file
+
2
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
pycardium/modules/sys_display.c
+
2
−
1
Options
@@ -150,7 +150,8 @@ static mp_obj_t mp_display_blit(size_t n_args, const mp_obj_t *args)
res
=
epic_disp_blit
(
pos_x
,
pos_y
,
width
,
height
,
buf
,
NULL
);
}
if
(
buf
)
{
if
(
!
rgb565
)
{
/* Do not free rgb565 data. It is owned by the caller */
m_free
(
buf
);
}
Loading