aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcoopgamma.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcoopgamma.c')
-rw-r--r--src/libcoopgamma.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcoopgamma.c b/src/libcoopgamma.c
index 345909f..031af1a 100644
--- a/src/libcoopgamma.c
+++ b/src/libcoopgamma.c
@@ -1023,6 +1023,7 @@ char** libcoopgamma_get_methods(void)
rc[n] = NULL;
while (n--)
{
+ rc[n] = buffer;
buffer = stpcpy(buffer, methods[n]) + 1;
free(methods[n]);
}