Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix memory leak in zim_Phalcon_Tag__inputField() #1700

Merged
merged 3 commits into from Dec 18, 2013
Merged

Fix memory leak in zim_Phalcon_Tag__inputField() #1700

merged 3 commits into from Dec 18, 2013

Conversation

ghost
Copy link

@ghost ghost commented Dec 15, 2013

Test case:

$di = new \Phalcon\Di\FactoryDefault();
echo Phalcon\Tag::submitButton('ľščťžýáíéôňď'), PHP_EOL;

Result:

<input type="submit" value="ľščťžýáíéôňď" />
[Sun Dec 15 21:28:24 2013]  Script:  '/home/vladimir/workspace/cphalcon/1681.php'
/home/vladimir/workspace/cphalcon/ext/kernel/memory.c(350) :  Freeing 0x7F29ED5A84E0 (32 bytes), script=/home/vladimir/workspace/cphalcon/1681.php

phalcon pushed a commit that referenced this pull request Dec 18, 2013
Fix memory leak in zim_Phalcon_Tag__inputField()
@phalcon phalcon merged commit b7d8f3c into phalcon:1.3.0 Dec 18, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants