[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Is someone can tell me
[Thread Prev] | [Thread Next]
- Subject: Re: Is someone can tell me
- From: Bruce Steers <bsteers4@xxxxxxxxx>
- Date: Sun, 21 Sep 2025 20:38:17 +0100
- To: user@xxxxxxxxxxxxxxxxxxxxxx
On Sun, 21 Sept 2025 at 20:31, Lee <t.lee.davidson@xxxxxxxxx> wrote:
> On 9/21/25 3:19 PM, Lee wrote:
> > On 9/21/25 11:27 AM, Fabien Bodard wrote:
> >> Why have I non freed allocation in this project ???
> >>
> >> Thanks
> >
> > I can't get far enough in the execution to even have a non-freed
> allocation. I get an exception at MyQuery:17, "Type mismatch:
> > wanted Object, got String instead"
> >
> > Gambas v3.20.4
>
> I fixed that by testing if TypeOf(Table) = gb.String *first* (same for
> TypeOf({Fields}) = gb.String). But, I do not get any
> non-freed allocations.
>
>
> --
> Lee
That move actually fixes the problem.
I tried it earlier and got the same non freed allocations warning and could
not figure out what it was.
I moved the If conditions around the same as you did and now the bug has
gone.
Respects
BruceS
| Re: Is someone can tell me | Fabien Bodard <gambas.fr@xxxxxxxxx> |
| Is someone can tell me | Fabien Bodard <gambas.fr@xxxxxxxxx> |
| Re: Is someone can tell me | Lee <t.lee.davidson@xxxxxxxxx> |
| Re: Is someone can tell me | Lee <t.lee.davidson@xxxxxxxxx> |