diff options
| author | 2010-06-14 09:11:19 -0700 | |
|---|---|---|
| committer | 2010-06-14 09:13:11 -0700 | |
| commit | 44cf0a06827d08d8dca35b51ea29be384aa32517 (patch) | |
| tree | 04914c0e7fade8eeecb7b39310c45f64c642eb80 /media/mtp/MtpDatabase.cpp | |
| parent | 7f5ee3b58d3dc07b88b313aae83ae424d131b355 (diff) | |
MTP: Fix uninitialized pointer bug.
Change-Id: Ia07ebd48aeb483e66957f5a174992d200494a744
Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'media/mtp/MtpDatabase.cpp')
| -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 775a07082112..d7b21d016633 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), |