diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2013-01-01 13:23:47 +0100 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2013-01-01 15:06:41 +0100 |
commit | 163ab4617096edb6384aa8fc7a764d440aee3fb9 (patch) | |
tree | ca0e49f5c184aa4def60bcca7f17f0653f45eb6e /rbutil/sansapatcher/main.c | |
parent | a8d291bd20428a59d29b886b7b1403261f9e5af3 (diff) | |
download | rockbox-163ab4617096edb6384aa8fc7a764d440aee3fb9.tar.gz rockbox-163ab4617096edb6384aa8fc7a764d440aee3fb9.zip |
Provide dealloc function to sansapatcher.
Similar as done with ipodpatcher provide a function to free the allocated
sector buffer.
Change-Id: Ie51e82f7191496bb48973148af1cc35cd37993d3
Diffstat (limited to 'rbutil/sansapatcher/main.c')
-rw-r--r-- | rbutil/sansapatcher/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rbutil/sansapatcher/main.c b/rbutil/sansapatcher/main.c index 743ebfedbd..29c2f915bb 100644 --- a/rbutil/sansapatcher/main.c +++ b/rbutil/sansapatcher/main.c | |||
@@ -404,6 +404,7 @@ int main(int argc, char* argv[]) | |||
404 | } | 404 | } |
405 | 405 | ||
406 | sansa_close(&sansa); | 406 | sansa_close(&sansa); |
407 | sansa_dealloc_buffer(&sansa); | ||
407 | 408 | ||
408 | if (action==INTERACTIVE) { | 409 | if (action==INTERACTIVE) { |
409 | printf("Press ENTER to exit sansapatcher :"); | 410 | printf("Press ENTER to exit sansapatcher :"); |