diff --git a/src/nano.c b/src/nano.c index 845e60236e484a3a3d744d164d7d793f0573ad23..b454c3f6f7cfc5d8eaa33d2139f4edc842b32ad6 100644 --- a/src/nano.c +++ b/src/nano.c @@ -672,7 +672,7 @@ partition *partition_filestruct(filestruct *top, size_t top_x, void unpartition_filestruct(partition *p) { char *tmp; - assert(p != NULL); + assert(p != NULL && fileage != NULL && filebot != NULL); /* Reattach the line above the top of the partition, and restore the * text before top_x from top_data. Free top_data when we're done