Add newline character to stack allocation error