diff --git a/Startcode/matrix.c b/Startcode/matrix.c index 9831e98..77fc954 100644 --- a/Startcode/matrix.c +++ b/Startcode/matrix.c @@ -24,6 +24,7 @@ Matrix createMatrix(unsigned int rows, unsigned int cols){ fprintf(stderr, "Error, matrix could not be created...\n"); matrix.rows = 0; matrix.cols = 0; + matrix.buffer = NULL; } return matrix;