Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-esp32
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-esp32
Commits
4a0305a0
Unverified
Commit
4a0305a0
authored
Jul 19, 2021
by
Rodrigo Garcia
Committed by
GitHub
Jul 19, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes SD begin() end() memory leak #2897 (#5419)
parent
6393dbc9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
libraries/SD/src/sd_diskio.cpp
libraries/SD/src/sd_diskio.cpp
+1
-0
No files found.
libraries/SD/src/sd_diskio.cpp
View file @
4a0305a0
...
...
@@ -703,6 +703,7 @@ uint8_t sdcard_uninit(uint8_t pdrv)
esp_err_t
err
=
ESP_OK
;
if
(
card
->
base_path
)
{
err
=
esp_vfs_fat_unregister_path
(
card
->
base_path
);
free
(
card
->
base_path
);
}
free
(
card
);
return
err
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment