Changeset e56303f for tester.c


Ignore:
Timestamp:
Mar 24, 2011, 4:00:33 PM (10 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.8, release-1.9
Children:
f25df21
Parents:
42ee1be
git-author:
David Benjamin <davidben@mit.edu> (03/08/11 14:44:30)
git-committer:
David Benjamin <davidben@mit.edu> (03/24/11 16:00:33)
Message:
Replace owl_parse_delete with g_strfreev

Also cut the pointless g_strdup in owl_cmddict_execute and allow argc to
be NULL if we don't care about the value.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tester.c

    r42ee1be re56303f  
    188188      FAIL_UNLESS(desc " - parsed",                     \
    189189                  !strcmp(__argv[0], unquoted));        \
    190       owl_parse_delete(__argv, __argc);                 \
     190      g_strfreev(__argv);                               \
    191191      g_free(__quoted);                         \
    192192    } while (0)
Note: See TracChangeset for help on using the changeset viewer.