summaryrefslogtreecommitdiff
path: root/gnulib-local/lib/regexec.c.diff
blob: eede896714ad37695cd24bc35afacb0a85b3c6ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
*** lib/regexec.c.orig	Mon May 24 12:36:55 2010
--- lib/regexec.c	Mon May 24 12:34:41 2010
***************
*** 3425,3431 ****
    else
      {
        dest_states = (re_dfastate_t **)
! 	malloc (ndests * 3 * sizeof (re_dfastate_t *));
        if (BE (dest_states == NULL, 0))
  	{
  out_free:
--- 3425,3431 ----
    else
      {
        dest_states = (re_dfastate_t **)
! 	re_malloc (re_dfastate_t *, ndests * 3);
        if (BE (dest_states == NULL, 0))
  	{
  out_free: