diff options
Diffstat (limited to 'net/wireshark/files/patch-tools_lemon_lemon.c')
-rw-r--r-- | net/wireshark/files/patch-tools_lemon_lemon.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/net/wireshark/files/patch-tools_lemon_lemon.c b/net/wireshark/files/patch-tools_lemon_lemon.c deleted file mode 100644 index 3fbd409974c8..000000000000 --- a/net/wireshark/files/patch-tools_lemon_lemon.c +++ /dev/null @@ -1,10 +0,0 @@ ---- tools/lemon/lemon.c.orig Sat Feb 10 01:09:11 2007 -+++ tools/lemon/lemon.c Sat Feb 10 01:09:33 2007 -@@ -2146,6 +2146,7 @@ to follow the previous rule."); - struct rule *rp; - rp = (struct rule *)malloc( sizeof(struct rule) + - sizeof(struct symbol*)*psp->nrhs + sizeof(char*)*psp->nrhs ); -+ memset(rp, 0, sizeof(struct rule)); - if( rp==0 ){ - ErrorMsg(psp->filename,psp->tokenlineno, - "Can't allocate enough memory for this rule."); |