Skip to content

Commit

Permalink
Merged pull request #165
Browse files Browse the repository at this point in the history
  • Loading branch information
derickr committed Mar 21, 2015
2 parents e92577b + 5449439 commit 0d42ff5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions xdebug_branch_info.c
Expand Up @@ -117,6 +117,9 @@ void xdebug_branch_post_process(zend_op_array *opa, xdebug_branch_info *branch_i

void xdebug_path_add(xdebug_path *path, unsigned int nr)
{
if (!path) {
return;
}
if (path->elements_count == path->elements_size) {
path->elements_size += 32;
path->elements = realloc(path->elements, sizeof(unsigned int) * path->elements_size);
Expand Down

0 comments on commit 0d42ff5

Please sign in to comment.