Skip to content

Commit

Permalink
Release 0.2.3
Browse files Browse the repository at this point in the history
    * Fix minor memory-management bug in yorick-gyoto_Scenery.C

Signed-off-by: Thibaut Paumard <[email protected]>
  • Loading branch information
paumard committed Oct 21, 2014
1 parent fa5c385 commit a2ddb8e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
17 changes: 14 additions & 3 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,15 +1,26 @@
commit unknown
Author: Thibaut Paumard <[email protected]>
Date: Tue Sep 19 14:47:16 2014 +0200
Date: Tue Oct 21 14:08:33 2014 +0200

Released 0.2.2
Release 0.2.3
* Fix minor memory-management bug in yorick-gyoto_Scenery.C

Signed-off-by: Thibaut Paumard <[email protected]>

commit fa5c38593c5d49d35ad6744522beb011477c57ea
Author: Thibaut Paumard <[email protected]>
Date: Fri Sep 19 14:47:33 2014 +0200

Release 0.2.2

Signed-off-by: Thibaut Paumard <[email protected]>

commit 44a8a2536af0e51e50831c8f151432d9f83fe24f
Author: Thibaut Paumard <[email protected]>
Date: Tue Sep 9 11:22:24 2014 +0200

Correct also the generic implementation of circularVelocity()

Conflicts:
lib/PolishDoughnut.C

Expand Down
5 changes: 2 additions & 3 deletions yorick/gyoto_Scenery.C
Original file line number Diff line number Diff line change
Expand Up @@ -195,9 +195,8 @@ extern "C" {
long dims[2] = { rquant, nk };
ystring_t *squant = ypush_q(dims);
long k = 0;
char *tk =
strtok(const_cast<char*>((*OBJ)->getRequestedQuantitiesString().c_str()),
" \n\t");
string requested=(*OBJ)->getRequestedQuantitiesString();
char *tk = strtok(const_cast<char*>(requested.c_str()), " \n\t");
while (tk!=NULL) {
if (k>=nk) y_error("BUG: too many tokens in quantity list");
squant[k++] = p_strcpy(tk);
Expand Down

0 comments on commit a2ddb8e

Please sign in to comment.