mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
fix bug #1112. For MODULAR_NETLIB never null out the fe_data field of the URL Struct...
This commit is contained in:
parent
3f8b2d5296
commit
75e5ccea4e
@ -240,7 +240,8 @@ PRIVATE int net_MultipleDocumentWrite (NET_StreamClass *stream, CONST char* s, i
|
||||
/* don't cache image animations... */
|
||||
format_out = CLEAR_CACHE_BIT(obj->format_out);
|
||||
}
|
||||
|
||||
|
||||
#if !defined(MODULAR_NETLIB)
|
||||
/* libimg and libplugin use the fe_data to store
|
||||
* urls data, so clear it only if its not them */
|
||||
if( (CLEAR_CACHE_BIT(obj->format_out) != FO_INTERNAL_IMAGE)
|
||||
@ -250,7 +251,7 @@ PRIVATE int net_MultipleDocumentWrite (NET_StreamClass *stream, CONST char* s, i
|
||||
{
|
||||
obj->URL_s->fe_data = NULL;
|
||||
}
|
||||
|
||||
#endif /* !MODULAR_NETLIB */
|
||||
/* build a stream
|
||||
*/
|
||||
obj->next_stream = NET_StreamBuilder(format_out,
|
||||
|
Loading…
Reference in New Issue
Block a user