[Github-comments] [geany/geany] TM cleanups (#957)

Colomban Wendling notifications at xxxxx
Tue May 3 18:26:52 UTC 2016


>  #endif
> -			if (!g_hash_table_lookup(includes_files_hash,
> -									globbuf.gl_pathv[idx_glob]))
> -			{
> -				char* file_name_copy = strdup(globbuf.gl_pathv[idx_glob]);
> -				g_hash_table_insert(includes_files_hash, file_name_copy,
> -									file_name_copy);
> +				if (!g_hash_table_lookup(table, globbuf.gl_pathv[idx_glob]))
> +				{
> +					gchar *file_name_copy = strdup(globbuf.gl_pathv[idx_glob]);

s/strdup/g_strdup/

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/957/files/1c4aaa0eb72aa9e3c60cd604d4c20ca5f7dc5c8f..b72b8596346c5dcecb4ecb55d12311b2405a470f#r61930836
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160503/f5fd9323/attachment.html>


More information about the Github-comments mailing list