diff --git a/PORTING/CNN/cnn.c b/PORTING/CNN/cnn.c index 568b294..fdcd1ad 100644 --- a/PORTING/CNN/cnn.c +++ b/PORTING/CNN/cnn.c @@ -620,12 +620,12 @@ void cnn_run() myfree(SRAMEX, yi); myfree(SRAMEX, CNN_data); myfree(SRAMEX, Full_output1); - myfree(SRAMEX, Matrix_data); } else printf("No\r\n");/*如果没放电打印“No”*/ printf("maxvalue is:%f\t",maxvalue); printf("meanvalue is:%f\t",meanvalue); printf("std_devvalue is:%f\r\n",std_devvalue); + myfree(SRAMEX, Matrix_data); isrun = 0; }