Skip to content

Commit

Permalink
antN memory leak fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastien-bouffier committed Apr 15, 2018
1 parent b4b3e12 commit e0daa75
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ANTN.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ size_t WriteMemoryCallback(void *contents, size_t size, size_t nmemb, void *user
break;
}
} while(done > 0);
delete tmpBuffer;
return realsize;
}
return 0;
Expand Down

0 comments on commit e0daa75

Please sign in to comment.