> Looks like the problem is from your app indeed. Again, what does
> _CrtDumpMemoryLeaks() say?

I really don't see any way to use  _CrtDumpMemoryLeaks(). It always
shows hundreds of blocks even if I'm sure that nothing was allocated
(no malloc or new). I know that this is not a place to learn how to
use VC++. Maybe it's true that Deleaker just freaks out. I will try to
track it down another way. All ideas appreciated.

Bartek

On Tue, Nov 4, 2008 at 5:54 PM, Sherief N. Farouk <[EMAIL PROTECTED]> wrote:
>> I figured up, that in my main app, when I don't make nested queries no
>> memory leaks. In simple app no matter id I use nested or strait
>> queries memory does not leak.
>> For example:
>>
>> sprintf( lpbuf, "SELECT tagList FROM overlay WHERE modalityID=%d "
>>                                       "AND userID=%d "
>>                                       "AND regionNR=%d",
>>                                       4, 1, 0 );
>> sqliteDB->readBlob( lpbuf, &data, &dataLength);
>>
>>
>> does not leak, but similar:
>>
>> sprintf( lpbuf, "SELECT tagList FROM overlay WHERE modalityID=(SELECT
>> id FROM modality WHERE symbol='CR') "
>>               "AND userID=(SELECT id FROM user WHERE login='basiek') "
>>               "AND regionNR=0" );
>> sqliteDB->readBlob( lpbuf, &data, &dataLength);
>>
>> leaks.
>>
>> Isn't it strange?
>> I really cannot reproduce this error in simple console application.
>
> Looks like the problem is from your app indeed. Again, what does
> _CrtDumpMemoryLeaks() say?
>
> - Sherief
>
> _______________________________________________
> sqlite-users mailing list
> [email protected]
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to