diff options
author | Mike Lockwood <lockwood@android.com> | 2010-06-14 09:11:19 -0700 |
---|---|---|
committer | Mike Lockwood <lockwood@android.com> | 2010-06-14 09:13:11 -0700 |
commit | 44cf0a06827d08d8dca35b51ea29be384aa32517 (patch) | |
tree | 04914c0e7fade8eeecb7b39310c45f64c642eb80 /media/mtp | |
parent | 7f5ee3b58d3dc07b88b313aae83ae424d131b355 (diff) | |
download | frameworks_base-44cf0a06827d08d8dca35b51ea29be384aa32517.zip frameworks_base-44cf0a06827d08d8dca35b51ea29be384aa32517.tar.gz frameworks_base-44cf0a06827d08d8dca35b51ea29be384aa32517.tar.bz2 |
MTP: Fix uninitialized pointer bug.
Change-Id: Ia07ebd48aeb483e66957f5a174992d200494a744
Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'media/mtp')
-rw-r--r-- | media/mtp/MtpDatabase.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/media/mtp/MtpDatabase.cpp b/media/mtp/MtpDatabase.cpp index 775a070..d7b21d0 100644 --- a/media/mtp/MtpDatabase.cpp +++ b/media/mtp/MtpDatabase.cpp @@ -122,6 +122,7 @@ static bool getPropertyInfo(MtpObjectProperty property, int& type, const char*& MtpDatabase::MtpDatabase() : mFileIdQuery(NULL), + mFilePathQuery(NULL), mObjectInfoQuery(NULL), mFileInserter(NULL), mFileDeleter(NULL), |