diff options
Diffstat (limited to 'src/vector1.c')
| -rw-r--r-- | src/vector1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vector1.c b/src/vector1.c index 30fca1ca..b3023ee5 100644 --- a/src/vector1.c +++ b/src/vector1.c @@ -15,7 +15,7 @@ freev2(void **v, int nrows) { vector2(int nrows, int ncols, int size) { void **s; - if (s = (void **)pj_malloc(sizeof(void *) * nrows)) { + if ((s = (void **)pj_malloc(sizeof(void *) * nrows)) != NULL) { int rsize, i; rsize = size * ncols; |
