Changeset 52426b8 in subsurface


Ignore:
Timestamp:
May 6, 2017, 8:06:42 AM (4 months ago)
Author:
Dirk Hohndel <dirk@…>
Branches:
master
Children:
e52d9c2
Parents:
0d36b6e
git-author:
Miika Turkia <miika.turkia@…> (05/04/17 11:22:41)
git-committer:
Dirk Hohndel <dirk@…> (05/06/17 08:06:42)
Message:

Fix memory leak

Signed-off-by: Miika Turkia <miika.turkia@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/testparse.cpp

    ree1bf18 r52426b8  
    6161        int pnr = 0;
    6262
    63         params[pnr++] = strdup(strdup("numberField"));
     63        params[pnr++] = strdup("numberField");
    6464        params[pnr++] = intdup(0);
    6565        params[pnr++] = strdup("dateField");
     
    412412        int pnr = 0;
    413413
    414         params[pnr++] = strdup(strdup("numberField"));
     414        params[pnr++] = strdup("numberField");
    415415        params[pnr++] = intdup(0);
    416416        params[pnr++] = strdup("dateField");
Note: See TracChangeset for help on using the changeset viewer.