Permalink
Browse files

forget to init NULL

  • Loading branch information...
chobie committed Jan 8, 2012
1 parent 1eebfa3 commit df81b0165c9a12deed7c65f6656150d05cab7778
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/php_sundown.c
  2. +1 −1 src/sundown_markdown.c
View
@@ -288,7 +288,7 @@ static void sundown__render(SundownRendererType render_type, INTERNAL_FUNCTION_P
setup Sundown extension */
PHP_METHOD(sundown, __construct)
{
- zval *extensions ,*c_extensions = NULL;
+ zval *extensions = NULL,*c_extensions = NULL;
char *buffer;
int buffer_len = 0;
View
@@ -310,7 +310,7 @@ zend_object_value php_sundown_markdown_new(zend_class_entry *ce TSRMLS_DC)
PHP_METHOD(sundown_markdown, __construct)
{
zval *render;
- zval *extensions, *c_extensions = NULL;
+ zval *extensions = NULL, *c_extensions = NULL;
zend_class_entry **ce;
php_sundown_markdown_t *object = (php_sundown_markdown_t *) zend_object_store_get_object(getThis() TSRMLS_CC);

0 comments on commit df81b01

Please sign in to comment.