summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/util.c
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2014-08-01 14:19:46 -0700
committerAllan McRae <allan@archlinux.org>2014-08-04 14:23:58 +1000
commit22e478d20322a1d224fc41866d018d4b8a774057 (patch)
tree6768f5483bbb144d70114cecb3a53e85db7939bf /lib/libalpm/util.c
parent85c80542a5c52311fdde71459a924d87ec95cc93 (diff)
downloadpacman-22e478d20322a1d224fc41866d018d4b8a774057.tar.xz
pactest: delay test object creation
The actual test object is only used to run the test. Storing test cases as strings limits the test object scope and allows it to be garbage collected, reducing memory usage when multiple tests are run. Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/util.c')
0 files changed, 0 insertions, 0 deletions