]> granicus.if.org Git - cronie/commitdiff
Add missing va_end() call.
authorTomas Mraz <tmraz@fedoraproject.org>
Fri, 11 Mar 2011 17:34:38 +0000 (18:34 +0100)
committerTomas Mraz <tmraz@fedoraproject.org>
Fri, 11 Mar 2011 17:34:38 +0000 (18:34 +0100)
anacron/matchrx.c

index 17bec9336b2781b9d3e66bcf8bd8d8f7567520fe..2f41251ebb935758fac682601859728560d2c8ef 100644 (file)
@@ -75,6 +75,7 @@ match_rx(const char *rx, char *string, int n_sub,  /* char **substrings */...)
                if (substring != NULL)
                {
                        if (sub_offsets[n].rm_so == -1) {
+                           va_end(va);
                            free(sub_offsets);
                            return - 1;
                        }