1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- Correction to patch: delete -> delete[].

- Bump portrevision.

Submitted by:	tijl@
This commit is contained in:
Stephen Montgomery-Smith 2014-05-17 19:57:55 +00:00
parent 179a54755e
commit 9e6c3ab7fd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=354362
2 changed files with 7 additions and 7 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= octave-forge-miscellaneous
PORTVERSION= 1.2.0
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= math
MAINTAINER= stephen@FreeBSD.org

View File

@ -18,8 +18,8 @@
{
error ("%s: argument %i: wrong dimensions",
fname.c_str (), i + 2);
+ delete(bidc);
+ delete(eidc);
+ delete[](bidc);
+ delete[](eidc);
return Cell ();
}
cnidx =
@ -29,8 +29,8 @@
}
- if (error_state)
+ if (error_state) {
+ delete(bidc);
+ delete(eidc);
+ delete[](bidc);
+ delete[](eidc);
return Cell ();
+ }
@ -40,8 +40,8 @@
}
}
+ delete(bidc);
+ delete(eidc);
+ delete[](bidc);
+ delete[](eidc);
return retval;
}