Skip to content

Commit

Permalink
Fix issues found via coverity scan
Browse files Browse the repository at this point in the history
  • Loading branch information
apmon committed Oct 24, 2013
1 parent db98268 commit e2c4b62
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/parameterize_style.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ static void parameterize_map_language(mapnik::Map &m, char * parameter) {
}
tok = strtok(NULL, ",");

}
}
free(data);
name_replace[strlen(name_replace) - 1] = 0;
strncat(name_replace,") as name", 255);
for (i = 0; i < m.layer_count(); i++) {
Expand Down

0 comments on commit e2c4b62

Please sign in to comment.