diff options
Diffstat (limited to 'rbutil/rbutilqt/base/autodetection.cpp')
-rw-r--r-- | rbutil/rbutilqt/base/autodetection.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/base/autodetection.cpp b/rbutil/rbutilqt/base/autodetection.cpp index a453fa8d60..e57c4542d0 100644 --- a/rbutil/rbutilqt/base/autodetection.cpp +++ b/rbutil/rbutilqt/base/autodetection.cpp | |||
@@ -162,8 +162,7 @@ bool Autodetection::detect() | |||
162 | else { | 162 | else { |
163 | qDebug() << "[Autodetect] ipodpatcher: no Ipod found." << n; | 163 | qDebug() << "[Autodetect] ipodpatcher: no Ipod found." << n; |
164 | } | 164 | } |
165 | free(ipod.sectorbuf); | 165 | ipod_dealloc_buffer(&ipod); |
166 | ipod.sectorbuf = NULL; | ||
167 | 166 | ||
168 | // try sansapatcher | 167 | // try sansapatcher |
169 | // initialize sector buffer. Needed. | 168 | // initialize sector buffer. Needed. |